From c1891a9bdf2f53b40a3aa57d9e319ecbabbfa546 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 19 Sep 2006 23:45:12 +0000 Subject: [PATCH] MFB: array_key_exists() should not work by by-ref --- ext/standard/basic_functions.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 5463289149..edd4afe0bc 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -663,9 +663,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 -- 2.50.1