Re: not_null function

From: Date: Thu, 03 Jul 2014 11:56:38 +0000
Subject: Re: not_null function
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-75225@lists.php.net to get a copy of this message
On Thu, 2014-07-03 at 13:47 +0200, Xen wrote: > > is_null is consistent with the other is_* functions. A programming > > language is not a natural language so grammatical or semantic > > imperfections are totally valid. > > That is just your unfounded opinion. null in PHP is a type as well as the only value for a variable of that type. The is_* functions check for a type. As such it is consistent. We won't add your special purpose function. You can add it to your library if you need it. There were alternatives presented now let's end this thread so we can spend the time on things we will actually do. Thanks for understanding. (I strongly suggest anybody to continue off-list if they see need to continue this, we're spaming too many mailboxes otherwise) johannes

« previous php.internals (#75225) next »