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

This commit is contained in:
Ilia Alshanetsky 2005-09-13 13:24:38 +00:00
parent d3f03cc468
commit c221e148d7

View file

@ -756,8 +756,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)