From a383bd062c95b551744ec5436aece755ee878ffc Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 13 Sep 2005 13:22:49 +0000 Subject: [PATCH] Make key() and current() take argument by value. --- ext/standard/basic_functions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 211b52a677d..28a9cf51a00 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -760,8 +760,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)