philip Tue Jan 21 02:27:51 2003 EDT Modified files: /phpdoc/en/language types.xml Log: Explain heredoc closing identifier error a little more. This closes bug #20814. Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.104 phpdoc/en/language/types.xml:1.105 --- phpdoc/en/language/types.xml:1.104 Tue Jan 21 02:17:32 2003 +++ phpdoc/en/language/types.xml Tue Jan 21 02:27:50 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.104 $ --> +<!-- $Revision: 1.105 $ --> <chapter id="language.types"> <title>Types</title> @@ -781,6 +781,13 @@ the closing identifier must be a newline as defined by your operating system. This is <literal>\r</literal> on Macintosh for example. + </simpara> + <simpara> + If this rule is broken and the closing identifier is not "clean" + then it's not considered to be a closing identifier and PHP + will continue looking for one. If in this case a proper closing + identifier is not found then a parse error will result with the + line number being at the end of the script. </simpara> </warning>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php