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
This commit is contained in:
Daniel P. Brown 2009-08-13 02:36:25 +00:00
parent 8cd1af5938
commit 282e60fbe9

View file

@ -671,7 +671,8 @@ echo "I'd like to have another {${ strrev('reeb') }}, hips";
<simpara>
<type>String</type>s may also be accessed using braces, as in
<varname>$str{42}</varname>, 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
<varname>$str[42]</varname>.
</simpara>
</note>