On Thu, 3 May 2001, Andi Gutmans wrote:
> At 10:43 AM 5/3/2001 -0400, Joe Brown wrote:
> >What about an isnull() function, opposed to key_exists();
> >
> >IsPossible()?
>
> Yeah that's definitely a possiblity but then you'd have to do something like.
> if (isset($a["foo"]) || isnull($a["foo"))
>
> Kind of sucky.
> But we should think of a good resolution for a major version.
>
IsAvailable()
[sterling@localhost standard]$ grep is_null *
basic_functions.c: PHP_FE(is_null,
first_arg_allow_ref)
basic_functions.c:/* {{{ proto bool is_null(mixed var)
basic_functions.c:PHP_FUNCTION(is_null)
basic_functions.h:PHP_FUNCTION(is_null);
grep: CVS: Is a directory
grep: tests: Is a directory
[sterling@localhost standard]$
I added it in 4.0.4
-Sterling
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]