Re: PHP 7.1 - Address PHPSadness #28?

From: Date: Thu, 17 Sep 2015 09:01:30 +0000
Subject: Re: PHP 7.1 - Address PHPSadness #28?
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  Groups: php.internals 
Request: Send a blank email to internals+get-88279@lists.php.net to get a copy of this message
On 17 September 2015 02:17:59 BST, Robert Williams <rewilliams@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.

« previous php.internals (#88279) next »