Re: PHP 7.1 - Address PHPSadness #28?
| From: | Lester Caine | Date: | Sat, 19 Sep 2015 21:43:59 +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-88380@lists.php.net to get a copy of this message | ||
On 19/09/15 22:22, Rowan Collins wrote:
> If what you want to do is avoid the notice, then you don't need to "find out before
> calling is_null", you need to call isset *instead of* is_null. Again, ignore the name, and
> concentrate on what it actually does.
BUT ISSET RETURNS FALSE FOR A VARIABLE THAT IS SET BUT NULL ... END OF
STORY ...
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk