mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
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:
parent
8f070b4d9e
commit
9e5c5f5dbb
1 changed files with 9 additions and 6 deletions
|
@ -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><<<</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>
|
||||
|
|
Loading…
Reference in a new issue