From 355fe4b4b9fe8cf1d91bbe231dcd87ca2c8dbfee Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Wed, 29 Dec 2004 15:41:30 +0000 Subject: [PATCH] array brackets with strings in PHP 5 (bug #31303) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@175904 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/types.xml b/language/types.xml index efeb9612b4..f3fbc70ab4 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -1057,7 +1057,7 @@ echo "I'd like to have another {${ strrev('reeb') }}, hips"; For backwards compatibility, you can still use array-brackets for the same purpose. However, this syntax is deprecated as - of PHP 4. + of PHP 4 and produces fatal error in PHP 5.