Hej,

>> echo $user['fullname']; // no error at all, $user['fullname'] === NULL
>>
>> Shouldn't this at least trigger a Notice?
> 
> Check your error handling settings, probably warnings/notices are disabled.

I now found it in the documentation os the String type
http://php.net/language.types.string

"Note: Accessing variables of other types using [] or {} silently
returns NULL."

I created a change request: http://bugs.php.net/bug.php?id=46602

Best regards

Christopher

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to