Re: Allowing NULL for some internal functions

From: Date: Wed, 02 Mar 2022 14:27:38 +0000
Subject: Re: Allowing NULL for some internal functions
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-117209@lists.php.net to get a copy of this message
On Wed, 2 Mar 2022 at 14:17, Larry Garfield <larry@garfieldtech.com> wrote: > Null is not an empty string. Null is not a string. Null is not 0. Null > is not an integer. > So what should this do? $name = ($_POST['name'] ?? NULL); var_dump($name == ''); Is that now going to be false?

« previous php.internals (#117209) next »