Re: Re: Release process
| From: | Joe Brown | Date: | Thu, 03 May 2001 14:43:16 +0000 |
| Subject: | Re: Re: Release process | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-53624@lists.php.net to get a copy of this message | ||
What about an isnull() function, opposed to key_exists();
IsPossible()?
"Zeev Suraski" <zeev@zend.com> wrote in message
news:5.1.0.14.2.20010503164912.03383b58@mail.zend.com...
> At 16:46 3/5/2001, Andi Gutmans wrote:
> >> > By the way, what happened to that array_defined() or whatever
function
> >> > which was added? Didn't we say it should be nuked? isset() and
empty() are
> >> > enough IMO especially as NULL is used as undefined.
> >>
> >>key_exists(), you mean? I didn't put it in, and as far as I know it's
> >>still there.
> >
> >I'd really like to nuke it.
>
> Without commenting on whether it should be nuked or not, there's no way to
> implement this functionality with isset() and empty(). Neither of these
> constructs can be used to figure out whether an element exists and is
> null. Whether or not this should be detectable is a different issue...
>
> Zeev
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>