From 9811734c182456149fed6059274fc1cd0e6dec2e Mon Sep 17 00:00:00 2001 From: Mark Skilbeck Date: Tue, 21 Sep 2010 16:13:24 +0000 Subject: [PATCH] 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 --- 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 f849c5cb94..518fb3d74f 100644 --- a/language/types/string.xml +++ b/language/types/string.xml @@ -780,7 +780,8 @@ $str[strlen($str)-1] = 'e'; - Accessing variables of other types using [] or + Accessing variables of other types (not including arrays or objects + implementing the appropriate interfaces) using [] or {} silently returns &null;.