Fixed bug #53054 (Strings variable parsing - complex syntax)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304495 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kalle Sommer Nielsen 2010-10-19 04:25:38 +00:00
parent 9e10c49739
commit 3247b212f4

View file

@ -617,6 +617,11 @@ echo "This is ${great}";
// 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]}";