Little clarification - [] *does* work for arrays and some objects ;) #52254

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303645 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mark Skilbeck 2010-09-21 16:13:24 +00:00
parent 8e5ab7decb
commit 9811734c18

View file

@ -780,7 +780,8 @@ $str[strlen($str)-1] = 'e';
<note>
<para>
Accessing variables of other types using <literal>[]</literal> or
Accessing variables of other types (not including arrays or objects
implementing the appropriate interfaces) using <literal>[]</literal> or
<literal>{}</literal> silently returns &null;.
</para>
</note>