From 282e60fbe996cf4daf11c93d8f537e4273612398 Mon Sep 17 00:00:00 2001 From: "Daniel P. Brown" Date: Thu, 13 Aug 2009 02:36:25 +0000 Subject: [PATCH] Fixed deprecation notice regarding {} vs. [], which isn't going to wait until PHP6. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287193 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types/string.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/language/types/string.xml b/language/types/string.xml index 8bb03ff244..84c3199686 100644 --- a/language/types/string.xml +++ b/language/types/string.xml @@ -671,7 +671,8 @@ echo "I'd like to have another {${ strrev('reeb') }}, hips"; Strings may also be accessed using braces, as in $str{42}, for the same purpose. However, this syntax is - deprecated as of PHP 6. Use square brackets instead. + deprecated as of PHP 5.3.0. Use square brackets instead, such as + $str[42].