cvs: php-src(PHP_4_4) /ext/standard basic_functions.c
| From: | Ilia Alshanetsky | Date: | Tue, 13 Sep 2005 13:23:57 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33936@lists.php.net to get a copy of this message | ||
iliaa Tue Sep 13 09:23:57 2005 EDT
Modified files: (Branch: PHP_4_4)
/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.543.2.51.2.1&r2=1.543.2.51.2.2&ty=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.543.2.51.2.1
php-src/ext/standard/basic_functions.c:1.543.2.51.2.2
--- php-src/ext/standard/basic_functions.c:1.543.2.51.2.1 Tue Jul 26 05:32:57 2005
+++ php-src/ext/standard/basic_functions.c Tue Sep 13 09:23:56 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.543.2.51.2.1 2005/07/26 09:32:57 hyanantha Exp $ */
+/* $Id: basic_functions.c,v 1.543.2.51.2.2 2005/09/13 13:23:56 iliaa Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -802,8 +802,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)