Minor clarification of the here doc syntax.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@41689 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Torben Wilson 2001-02-21 23:11:56 +00:00
parent 8f070b4d9e
commit 9e5c5f5dbb

View file

@ -192,12 +192,15 @@ $a = 1.234; $a = 1.2e3;
Another way to delimit strings is by using here doc syntax
("<<<"). 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.
The label used must follow the same naming rules as any other
label in PHP: it must contain only alphanumeric characters and
underscores, and must start with a non-digit character or
underscore.
same identifier to close the quotation.
</simpara>
<simpara>
The closing identifier <emphasis>must</emphasis> begin in the
first column of the line. Also, the identifier used must follow
the same naming rules as any other label in PHP: it must contain
only alphanumeric characters and underscores, and must start with
a non-digit character or underscore.
</simpara>
<para>