svn: /phpdoc/en/trunk/language/types/ string.xml
| From: | Kalle Sommer Nielsen | Date: | Tue, 19 Oct 2010 04:25:38 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/types/ string.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7234@lists.php.net to get a copy of this message | ||
kalle Tue, 19 Oct 2010 04:25:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=304495
Log:
Fixed bug #53054 (Strings variable parsing - complex syntax)
Bug: http://bugs.php.net/53054 (Closed) Strings variable
parsing - complex syntax
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-10-19 04:15:38 UTC (rev 304494)
+++ phpdoc/en/trunk/language/types/string.xml 2010-10-19 04:25:38 UTC (rev 304495)
@@ -617,6 +617,11 @@
// Works
echo "This square is {$square->width}00 centimeters broad.";
+
+// Works, quoted keys only work using the curly brace syntax
+echo "This works: {$arr['key']}";
+
+
// Works
echo "This works: {$arr[4][3]}";