cvs: php4(PHP_4_3) /ext/standard array.c

From: Date: Fri, 06 Dec 2002 17:36:26 +0000
Subject: cvs: php4(PHP_4_3) /ext/standard array.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16975@lists.php.net to get a copy of this message
iliaa Fri Dec 6 12:36:26 2002 EDT Modified files: (Branch: PHP_4_3) /php4/ext/standard array.c Log: MFH Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.199.2.8 php4/ext/standard/array.c:1.199.2.9 --- php4/ext/standard/array.c:1.199.2.8 Thu Dec 5 17:46:40 2002 +++ php4/ext/standard/array.c Fri Dec 6 12:36:25 2002 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: array.c,v 1.199.2.8 2002/12/05 22:46:40 iliaa Exp $ */ +/* $Id: array.c,v 1.199.2.9 2002/12/06 17:36:25 iliaa Exp $ */ #include "php.h" #include "php_ini.h" @@ -3472,6 +3472,11 @@ case IS_LONG: if (zend_hash_index_exists(HASH_OF(*array), Z_LVAL_PP(key))) { + RETURN_TRUE; + } + RETURN_FALSE; + case IS_NULL: + if (zend_hash_exists(HASH_OF(*array), "", 1)) { RETURN_TRUE; } RETURN_FALSE;

« previous php.cvs (#16975) next »