Make key() and current() take argument by value.

This commit is contained in:
Ilia Alshanetsky 2005-09-13 13:22:49 +00:00
parent 279d2bc311
commit a383bd062c

View file

@ -760,8 +760,8 @@ function_entry basic_functions[] = {
PHP_FE(prev, first_arg_force_ref) PHP_FE(prev, first_arg_force_ref)
PHP_FE(next, first_arg_force_ref) PHP_FE(next, first_arg_force_ref)
PHP_FE(reset, first_arg_force_ref) PHP_FE(reset, first_arg_force_ref)
PHP_FE(current, first_arg_force_ref) PHP_FE(current, NULL)
PHP_FE(key, first_arg_force_ref) PHP_FE(key, NULL)
PHP_FE(min, NULL) PHP_FE(min, NULL)
PHP_FE(max, NULL) PHP_FE(max, NULL)
PHP_FE(in_array, NULL) PHP_FE(in_array, NULL)