From fbb8a1962dbbc696581c8ae3f77abd3a549cd4d8 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Mon, 17 Oct 2011 18:53:37 +0000 Subject: [PATCH] - Example within notes are confusing - Keep the screen content in CDATA to avoid leading newline git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318169 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types/string.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/language/types/string.xml b/language/types/string.xml index 85112a072e..a67d28a33b 100644 --- a/language/types/string.xml +++ b/language/types/string.xml @@ -453,10 +453,11 @@ This should not print a capital 'A': \x41]]> Unlike heredocs, nowdocs can be used in any static data context. The typical example is initializing class properties or constants: + - - Static data example - + + Static data example + ]]> - - - + + @@ -689,8 +689,10 @@ echo "{$foo->$baz[1]}\n"; &example.outputs; +