Heredoc arrows were backward.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@18840 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Torben Wilson 2000-01-27 02:42:21 +00:00
parent 53a3e044e1
commit 70ca6aaaab

View file

@ -158,13 +158,14 @@ $a = 1.234; $a = 1.2e3;
<para>
Another way to delimit strings is by using here doc syntax
("&gt;&gt;&gt;"). One should provide an identifier after
<literal>&gt;&gt;&gt;</literal>, then the string, and then the
same identifier to close the quotation.
("&lt;&lt;&lt;"). One should provide an identifier after
<literal>&lt;&lt;&lt;</literal>, then the string, and then the
same identifier to close the quotation. The closing identifier
<emphasis>must</emphasis> begin in the first column of the line.
<example>
<title>Here doc string quoting example</title>
<programlisting>
$str = &gt;&gt;&gt;EOD
$str = &lt;&lt;&lt;EOD
Example of string
spanning multiple lines
using heredoc syntax.
@ -174,7 +175,7 @@ EOD;
</para>
<note>
<para>
Here docs was added in PHP 4.
Here doc support was added in PHP 4.
</para>
</note>