Re: PHP 7.1 - Address PHPSadness #28?

From: Date: Wed, 16 Sep 2015 21:17:17 +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-88262@lists.php.net to get a copy of this message
On 16 September 2015 21:03:42 BST, Robert Williams <rewilliams@thesba.com> wrote: >looking at actual behavior of PHP, it’s clear that an undefined >variable behaves differently from one assigned null. One can easily >tell if a variable is null, but one can’t easily tell if a variable is >just not defined. This strikes me as close to self-contradictory - you can't easily tell the difference precisely because 99% of the time there is no difference. If you think an undefined variable shouldn't raise a notice, then let's discuss improvements to the way such messages are emitted so that it would be easier to adjust that behaviour. Regards, -- Rowan Collins [IMSoP]

« previous php.internals (#88262) next »