svn: /phpdoc/en/trunk/language/types/ string.xml

From: Date: Mon, 20 Dec 2010 01:35:53 +0000
Subject: svn: /phpdoc/en/trunk/language/types/ string.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7546@lists.php.net to get a copy of this message
kalle Mon, 20 Dec 2010 01:35:53 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306478 Log: Fixed bug #53575 (The "invalid HEREDOC" example is totally valid) # Also fixed the <screen> tags to be inside examples for better markup rendering Bug: http://bugs.php.net/53575 (Open) The "invalid HEREDOC" example is totally valid Changed paths: U phpdoc/en/trunk/language/types/string.xml Modified: phpdoc/en/trunk/language/types/string.xml =================================================================== --- phpdoc/en/trunk/language/types/string.xml 2010-12-20 01:22:59 UTC (rev 306477) +++ phpdoc/en/trunk/language/types/string.xml 2010-12-20 01:35:53 UTC (rev 306478) @@ -244,7 +244,7 @@ class foo { public $bar = <<<EOT bar -EOT; + EOT; } ?> ]]> @@ -295,14 +295,14 @@ ?> ]]> </programlisting> - </example> - &example.outputs; - <screen> + &example.outputs; + <screen> <![CDATA[ My name is "MyName". I am printing some Foo. Now, I am printing some Bar2. This should print a capital 'A': A]]> - </screen> + </screen> + </example> <para> It is also possible to use the Heredoc syntax to pass data to function @@ -439,13 +439,14 @@ ?> ]]> </programlisting> - </example> - &example.outputs; - <screen> + &example.outputs; + <screen> <![CDATA[ My name is "$name". I am printing some $foo->foo. Now, I am printing some {$foo->bar[1]}. -This should not print a capital 'A': \x41]]></screen> +This should not print a capital 'A': \x41]]> + </screen> + </example> <note> <para>

« previous php.doc.cvs (#7546) next »