Fixed PHP bug #51550 ('Open php' tag at end of file causes 'syntax error, unexpected ')

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297962 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Egeberg 2010-04-13 14:23:28 +00:00
parent 8cd6280cc6
commit 61bb68cc6d

View file

@ -117,6 +117,13 @@ if ($expression) {
redistributable code, be sure not to use short tags.
</para>
</note>
<note>
<para>
In PHP 5.2 and earlier, the parser does not allow the
<literal>&lt;?php</literal> opening tag to be the only thing in a file.
This is allowed as of PHP 5.3.
</para>
</note>
</para>
</sect1>
<sect1 xml:id="language.basic-syntax.instruction-separation">