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:
Jakub Vrana 2009-01-07 15:54:35 +00:00
parent f48f8c7585
commit e9a3ba2082

View file

@ -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>