From 70ca6aaaab3b10f27101ab16d84267889e3d93ae Mon Sep 17 00:00:00 2001 From: Torben Wilson Date: Thu, 27 Jan 2000 02:42:21 +0000 Subject: [PATCH] Heredoc arrows were backward. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@18840 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/language/types.xml b/language/types.xml index 8a8d67ad5e..c047bd7a0a 100644 --- a/language/types.xml +++ b/language/types.xml @@ -158,13 +158,14 @@ $a = 1.234; $a = 1.2e3; Another way to delimit strings is by using here doc syntax - (">>>"). One should provide an identifier after - >>>, then the string, and then the - same identifier to close the quotation. + ("<<<"). One should provide an identifier after + <<<, then the string, and then the + same identifier to close the quotation. The closing identifier + must begin in the first column of the line. Here doc string quoting example -$str = >>>EOD +$str = <<<EOD Example of string spanning multiple lines using heredoc syntax. @@ -174,7 +175,7 @@ EOD; - Here docs was added in PHP 4. + Here doc support was added in PHP 4.