diff --git a/language/types/string.xml b/language/types/string.xml index 66b2b8cc17..2a46bce839 100644 --- a/language/types/string.xml +++ b/language/types/string.xml @@ -1,5 +1,5 @@ - + Strings @@ -228,8 +228,8 @@ echo 'Variables do not $expand $either'; - Heredocs can not be used for initializing class members. Use - nowdocs instead. + Heredocs can not be used for initializing class members. Since PHP 5.3, + this limitation is valid only for heredocs containing variables.