svn: /phpdoc/en/trunk/language/ basic-syntax.xml
| From: | Daniel Egeberg | Date: | Tue, 13 Apr 2010 14:23:28 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ basic-syntax.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6378@lists.php.net to get a copy of this message | ||
degeberg Tue, 13 Apr 2010 14:23:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=297962
Log:
Fixed PHP bug #51550 ('Open php' tag at end of file causes 'syntax error, unexpected
')
Bug: http://bugs.php.net/51550 (Open) 'Open php'
tag at end of file causes 'syntax error, unexpected $end'
Changed paths:
U phpdoc/en/trunk/language/basic-syntax.xml
Modified: phpdoc/en/trunk/language/basic-syntax.xml
===================================================================
--- phpdoc/en/trunk/language/basic-syntax.xml 2010-04-13 12:41:46 UTC (rev 297961)
+++ phpdoc/en/trunk/language/basic-syntax.xml 2010-04-13 14:23:28 UTC (rev 297962)
@@ -117,6 +117,13 @@
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">