From 542271944a24e000b7a7e0999e985bb41b625c86 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Tue, 21 Jan 2003 07:27:50 +0000 Subject: [PATCH] Explain heredoc closing identifier error a little more. This closes bug #20814. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112920 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/language/types.xml b/language/types.xml index 4779231790..703c1b44dc 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -782,6 +782,13 @@ echo 'I am trying to include at this point: \n a newline'; operating system. This is \r on Macintosh for example. + + 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. +