mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
9e10c49739
commit
3247b212f4
1 changed files with 5 additions and 0 deletions
|
@ -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]}";
|
||||
|
||||
|
|
Loading…
Reference in a new issue