mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
8cd1af5938
commit
282e60fbe9
1 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue