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