cvs: php-src(PHP_5_0) /ext/standard basic_functions.c
| From: | Ilia Alshanetsky | Date: | Tue, 13 Sep 2005 13:23:27 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33935@lists.php.net to get a copy of this message | ||
iliaa Tue Sep 13 09:23:27 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/standard basic_functions.c
Log:
MFH: Make key() and current() take argument by value.
http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.673.2.18&r2=1.673.2.19&ty=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.673.2.18
php-src/ext/standard/basic_functions.c:1.673.2.19
--- php-src/ext/standard/basic_functions.c:1.673.2.18 Sun Aug 21 14:36:33 2005
+++ php-src/ext/standard/basic_functions.c Tue Sep 13 09:23:25 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.673.2.18 2005/08/21 18:36:33 zeev Exp $ */
+/* $Id: basic_functions.c,v 1.673.2.19 2005/09/13 13:23:25 iliaa Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -742,8 +742,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)