svn: /phpdoc/en/trunk/language/types/ string.xml
| From: | Christoph Michael Becker | Date: | Wed, 23 Mar 2016 11:14:14 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/types/ string.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14075@lists.php.net to get a copy of this message | ||
cmb Wed, 23 Mar 2016 11:14:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338787
Log:
fixed #71878 (Error in documentation example)
Bug: https://bugs.php.net/71878 (Open) Error in
documentation example
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 2016-03-22 11:13:24 UTC (rev 338786)
+++ phpdoc/en/trunk/language/types/string.xml 2016-03-23 11:14:14 UTC (rev 338787)
@@ -677,7 +677,7 @@
$bar = 'bar';
$baz = array('foo', 'bar', 'baz', 'quux');
echo "{$foo->$bar}\n";
-echo "{$foo->$baz[1]}\n";
+echo "{$foo->{$baz[1]}}\n";
?>
]]>
</programlisting>