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;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to