cvs: php-src(PHP_5_1) /ext/standard basic_functions.c
| From: | Ilia Alshanetsky | Date: | Tue, 13 Sep 2005 13:24:39 +0000 |
| Subject: | cvs: php-src(PHP_5_1) /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33937@lists.php.net to get a copy of this message | ||
iliaa Tue Sep 13 09:24:39 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/ext/standard basic_functions.c
Log:
MFH: MFH: Make key() and current() take argument by value.
http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.725.2.1&r2=1.725.2.2&ty=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.725.2.1
php-src/ext/standard/basic_functions.c:1.725.2.2
--- php-src/ext/standard/basic_functions.c:1.725.2.1 Wed Aug 10 08:02:52 2005
+++ php-src/ext/standard/basic_functions.c Tue Sep 13 09:24:38 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.725.2.1 2005/08/10 12:02:52 dmitry Exp $ */
+/* $Id: basic_functions.c,v 1.725.2.2 2005/09/13 13:24:38 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, 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)