php: Omit closing ?> in manual and examples
PSR-12 says "The closing ?> tag MUST be omitted from files containing only PHP".
This commit is contained in:
parent
00fa844352
commit
e54d44c4be
100 changed files with 0 additions and 135 deletions
|
|
@ -2,6 +2,3 @@
|
|||
|
||||
# This code is inserted into example.php
|
||||
echo "This is include.php\n";
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -6,4 +6,3 @@ set_include_path(realpath(dirname(__FILE__)) . PATH_SEPARATOR . get_include_path
|
|||
require "example.php";
|
||||
|
||||
echo "Version - " . ((new ReflectionExtension('example'))->getVersion()) . "\n";
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue