]> granicus.if.org Git - php/commitdiff
array_key_exists() should not work by by-ref
authorIlia Alshanetsky <iliaa@php.net>
Tue, 19 Sep 2006 23:44:30 +0000 (23:44 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 19 Sep 2006 23:44:30 +0000 (23:44 +0000)
ext/standard/basic_functions.c

index 236fbd0106fce754dae90e6b822b381c69097aa4..7beb9deb92646e03ed9a4caa1899dcb9fb21ca8c 100644 (file)
@@ -665,9 +665,9 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_array_map, 0, 0, 3)
 ZEND_END_ARG_INFO()
 
 static
-ZEND_BEGIN_ARG_INFO(arginfo_array_key_exists, ZEND_SEND_PREFER_REF)
-       ZEND_ARG_INFO(ZEND_SEND_PREFER_REF, key)
-       ZEND_ARG_INFO(ZEND_SEND_PREFER_REF, search)
+ZEND_BEGIN_ARG_INFO(arginfo_array_key_exists, 0)
+       ZEND_ARG_INFO(0, key)
+       ZEND_ARG_INFO(0, search)
 ZEND_END_ARG_INFO()
 
 static