From: Ilia Alshanetsky Date: Tue, 19 Sep 2006 23:44:30 +0000 (+0000) Subject: array_key_exists() should not work by by-ref X-Git-Tag: php-5.2.0RC5~124 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af993553fb33c5cb97be781b013e870434e7590e;p=php array_key_exists() should not work by by-ref --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 236fbd0106..7beb9deb92 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -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