kalle Sat Jun 20 06:05:26 2009 UTC
Modified files:
/php-src/ext/standard basic_functions.c
Log:
Fixed arginfo for array_map, patch by Matthew Fonda <[email protected]>
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?r1=1.959&r2=1.960&diff_format=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.959
php-src/ext/standard/basic_functions.c:1.960
--- php-src/ext/standard/basic_functions.c:1.959 Mon Jun 15 08:32:18 2009
+++ php-src/ext/standard/basic_functions.c Sat Jun 20 06:05:26 2009
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.959 2009/06/15 08:32:18 pajoye Exp $ */
+/* $Id: basic_functions.c,v 1.960 2009/06/20 06:05:26 kalle Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -587,10 +587,9 @@
ZEND_ARG_INFO(0, callback)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_array_map, 0, 0, 3)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_array_map, 0, 0, 2)
ZEND_ARG_INFO(0, callback)
- ZEND_ARG_INFO(0, arg1) /* ARRAY_INFO(0, arg1, 0) */
- ZEND_ARG_INFO(0, arg2) /* ARRAY_INFO(0, arg2, 0) */
+ ZEND_ARG_INFO(0, arg) /* ARRAY_INFO(0, arg, 0) */
ZEND_ARG_INFO(0, ...)
ZEND_END_ARG_INFO()
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php