mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
8cd6280cc6
commit
61bb68cc6d
1 changed files with 7 additions and 0 deletions
|
@ -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><?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">
|
||||
|
|
Loading…
Reference in a new issue