Fix strict array comparison

Fixes Symfony test failures
This commit is contained in:
Nikita Popov committed 2014-04-23 20:34:45 +02:00
1 parent 58089c5977
commit c98d373eb6
1 file changed
+1 -1
+1 -1
View File
@@ -1655,7 +1655,7 @@ ZEND_API int zend_hash_compare(HashTable *ht1, HashTable *ht2, compare_func_t co
HASH_UNPROTECT_RECURSION(ht2);
return 1; /* That's not supposed to happen */
}
if (p2) break;
if (Z_TYPE(p2->val) != IS_UNDEF) break;
idx2++;
}
if (p1->key == NULL && p2->key == NULL) { /* numeric indices */