On 17 September 2015 02:17:59 BST, Robert Williams <rewilli...@thesba.com> 
wrote:
> An unset variable is not null. Rather, it’s
>completely undefined, and PHP yells at you for just that reason if you
>try to access it. Then, it turns around and tries to appease you by
>giving you null.


I see it as rather the other way around: it happily gives you a null, but then 
says "oh, by the way, you never actually initialised that variable to null". 
Not an error, just a friendly aside.



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

Reply via email to