Re: not_null function
| From: | Kris Craig | Date: | Thu, 03 Jul 2014 22:47:07 +0000 |
| Subject: | Re: not_null function | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75240@lists.php.net to get a copy of this message | ||
>
> $var !== null
> ! is_null($var)
Is there any *practical* difference between these two? I mean, aside from
performance? I still don't get why we need is_null() at all if the exact
same thing can be accomplished-- but with better performance-- with ===
NULL.
--Kris