From b8045fcb12ab07ead1258ff211eaa2ffb9f52738 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Mon, 20 Dec 2010 01:35:53 +0000 Subject: [PATCH] Fixed bug #53575 (The "invalid HEREDOC" example is totally valid) # Also fixed the tags to be inside examples for better markup rendering git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306478 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types/string.xml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/language/types/string.xml b/language/types/string.xml index 14e7dcc601..e76f4f69f2 100644 --- a/language/types/string.xml +++ b/language/types/string.xml @@ -244,7 +244,7 @@ echo 'Variables do not $expand $either'; class foo { public $bar = << ]]> @@ -295,14 +295,14 @@ EOT; ?> ]]> - - &example.outputs; - + &example.outputs; + - + + It is also possible to use the Heredoc syntax to pass data to function @@ -439,13 +439,14 @@ EOT; ?> ]]> - - &example.outputs; - + &example.outputs; + foo. Now, I am printing some {$foo->bar[1]}. -This should not print a capital 'A': \x41]]> +This should not print a capital 'A': \x41]]> + +