From: Ilia Alshanetsky Date: Tue, 13 Sep 2005 13:23:56 +0000 (+0000) Subject: MFH: Make key() and current() take argument by value. X-Git-Tag: php-4.4.1RC1~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf4cbc4fb096cd7a525f06f29c6549c1c5df8265;p=php MFH: Make key() and current() take argument by value. --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index c0568a4f59..de4d38b954 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -802,8 +802,8 @@ function_entry basic_functions[] = { PHP_FE(prev, first_arg_force_ref) PHP_FE(next, first_arg_force_ref) PHP_FE(reset, first_arg_force_ref) - PHP_FE(current, first_arg_force_ref) - PHP_FE(key, first_arg_force_ref) + PHP_FE(current, NULL) + PHP_FE(key, NULL) PHP_FE(min, NULL) PHP_FE(max, NULL) PHP_FE(in_array, NULL)