]> granicus.if.org Git - php/commitdiff
MFH: MFH: Make key() and current() take argument by value.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 13 Sep 2005 13:24:38 +0000 (13:24 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 13 Sep 2005 13:24:38 +0000 (13:24 +0000)
ext/standard/basic_functions.c

index 455d8f36680c2d1e77ca00888b6f16df58a25252..aad388890ae984ecfb4f14873a6e19df0096521e 100644 (file)
@@ -756,8 +756,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)