From 4c23c16cd0c7f863638e75aec40a5fdd920f0789 Mon Sep 17 00:00:00 2001 From: James Cox Date: Thu, 11 Jul 2002 23:37:00 +0000 Subject: [PATCH] heredoc is one word. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@88396 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/language/types.xml b/language/types.xml index d7fec8b5fd..42ddf414b4 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -681,7 +681,7 @@ echo 'I am trying to include at this point: \n a newline'; Heredoc - Another way to delimit strings is by using here doc syntax + Another way to delimit strings is by using heredoc syntax ("<<<"). One should provide an identifier after <<<, then the string, and then the same identifier to close the quotation. @@ -723,14 +723,14 @@ echo 'I am trying to include at this point: \n a newline'; - Here doc text behaves just like a double-quoted string, without + Heredoc text behaves just like a double-quoted string, without the double-quotes. This means that you do not need to escape quotes in your here docs, but you can still use the escape codes listed above. Variables are expanded, but the same care must be taken when expressing complex variables inside a here doc as with strings. - Here doc string quoting example + Heredoc string quoting example - Here doc support was added in PHP 4. + Heredoc support was added in PHP 4.