mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Heredoc in PHP 5.3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@272971 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f48f8c7585
commit
e9a3ba2082
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.16 $ -->
|
||||
<!-- $Revision: 1.17 $ -->
|
||||
<sect1 xml:id="language.types.string">
|
||||
<title>Strings</title>
|
||||
|
||||
|
@ -228,8 +228,8 @@ echo 'Variables do not $expand $either';
|
|||
</simpara>
|
||||
|
||||
<para>
|
||||
Heredocs can not be used for initializing class members. Use
|
||||
<link linkend="language.types.string.syntax.nowdoc">nowdocs</link> instead.
|
||||
Heredocs can not be used for initializing class members. Since PHP 5.3,
|
||||
this limitation is valid only for heredocs containing variables.
|
||||
</para>
|
||||
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue