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.str
Hi Karsten,
>> 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.
reproduce code:
Best regards
Christopher
--
PHP Internals - PHP Runtime Deve
Hi.
Christopher Vogt wrote:
I fetch records a database. Sometime it happens that a record does not
exist anymore. Let's assume it's a user, then $user will be NULL.
echo $user['fullname']; // no error at all, $user['fullname'] === NULL
Shouldn't this at least trigger a Notice?
Check your err