iliaa Sun Oct 30 13:03:33 2005 EDT
Added files: (Branch: PHP_5_1)
/php-src/ext/standard/tests/array bug35022.phpt
Modified files:
/php-src NEWS
/php-src/ext/standard basic_functions.c
Log:
Fixed bug #35022, #35019 (Regression in the behavior of key/current
functions).
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.2027.2.169&r2=1.2027.2.170&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.169 php-src/NEWS:1.2027.2.170
--- php-src/NEWS:1.2027.2.169 Sun Oct 30 08:44:22 2005
+++ php-src/NEWS Sun Oct 30 13:03:29 2005
@@ -1,6 +1,8 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? Nov 2005, PHP 5.1
+- Fixed bug #35022, #35019 (Regression in the behavior of key/current
+ functions). (Ilia)
- Fixed bug #35014 (array_product() always returns 0). (Ilia)
28 Oct 2005, PHP 5.1 Release Candidate 4
http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.725.2.4&r2=1.725.2.5&ty=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.725.2.4
php-src/ext/standard/basic_functions.c:1.725.2.5
--- php-src/ext/standard/basic_functions.c:1.725.2.4 Thu Sep 29 12:39:37 2005
+++ php-src/ext/standard/basic_functions.c Sun Oct 30 13:03:30 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.725.2.4 2005/09/29 16:39:37 iliaa Exp $ */
+/* $Id: basic_functions.c,v 1.725.2.5 2005/10/30 18:03:30 iliaa Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -756,8 +756,8 @@
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, all_args_prefer_ref)
+ PHP_FE(key, all_args_prefer_ref)
PHP_FE(min,
NULL)
PHP_FE(max,
NULL)
PHP_FE(in_array,
NULL)
http://cvs.php.net/co.php/php-src/ext/standard/tests/array/bug35022.phpt?r=1.1&p=1
Index: php-src/ext/standard/tests/array/bug35022.phpt
+++ php-src/ext/standard/tests/array/bug35022.phpt
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php