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:
Olly Betts 2021-03-22 16:00:09 +13:00
commit e54d44c4be
100 changed files with 0 additions and 135 deletions

View file

@ -2,6 +2,3 @@
# This code is inserted into example.php
echo "This is include.php\n";
?>

View file

@ -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";
?>