]> granicus.if.org Git - php/commitdiff
Fixed bug #35067, #35063 (key(),current() need to work by reference).
authorIlia Alshanetsky <iliaa@php.net>
Wed, 2 Nov 2005 17:58:02 +0000 (17:58 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 2 Nov 2005 17:58:02 +0000 (17:58 +0000)
NEWS
ext/standard/basic_functions.c

diff --git a/NEWS b/NEWS
index 628f1f757e6f8f45110ad398f22bbbf12314b153..77288da862eb26689fd2c6594d71cd543582cd61 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ PHP 4                                                                      NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2006, Version 4.4.2
 - Missing safe_mode/open_basedir check in cURL extension. (Ilia)
+- Fixed bug #35067, #35063 (key(),current() need to work by reference). (Ilia)
 - Fixed bug #35059 (Apache2 crash with mod_rewrite). (Ilia)
 - Fixed bug #34996 (ImageTrueColorToPalette() crashes when ncolors is 
   zero). (Tony)
index e64a0921f8cc446181ecbe708ba8fc432a12b9ea..bf9af8f580e73a59de86d093baf432a752ec0839 100644 (file)
@@ -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,                                 NULL)
-       PHP_FE(key,                                     NULL)
+       PHP_FE(current,                                 first_arg_force_ref)
+       PHP_FE(key,                                     first_arg_force_ref)
        PHP_FE(min,                                                                                                                             NULL)
        PHP_FE(max,                                                                                                                             NULL)
        PHP_FE(in_array,                                                                                                                NULL)