From 97e8b8dccffda90669b1dbab2d7fb28ef0d38dee Mon Sep 17 00:00:00 2001 From: Philip Olson <philip@php.net> Date: Sat, 18 Jan 2003 08:56:06 +0000 Subject: [PATCH] Character before heredoc closing identifier (which is EOL) depends on the OS. This closes bug #21680 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112361 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/language/types.xml b/language/types.xml index a29a164b87..327666fe29 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.100 $ --> +<!-- $Revision: 1.101 $ --> <chapter id="language.types"> <title>Types</title> @@ -751,6 +751,9 @@ echo 'I am trying to include at this point: \n a newline'; That means especially that the identifier <emphasis>may not be indented</emphasis>, and there may not be any spaces or tabs after or before the semicolon. + It's also important to realize that the first character before + the closing identifier must be a newline as defined by your + operating system. So for example on macs; <literal>\r</literal>. </simpara> </warning>