com php-src: Fix each() arginfo: Zend/zend_builtin_function s.c

From: Date: Mon, 22 Jun 2015 08:03:14 +0000
Subject: com php-src: Fix each() arginfo: Zend/zend_builtin_function s.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87426@lists.php.net to get a copy of this message
Commit: 19fd124bcf2380f8e928795d1fe1900a02635298 Author: Bob Weinand <bobwei9@hotmail.com> Mon, 22 Jun 2015 10:03:14 +0200 Parents: 932c95fb3106d0f3fd742e3f2a01f749f6d69182 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=19fd124bcf2380f8e928795d1fe1900a02635298 Log: Fix each() arginfo Changed paths: M Zend/zend_builtin_functions.c Diff: diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index c285f81..98970e2 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -163,9 +163,9 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_strncasecmp, 0, 3, IS_LONG, 0, 0 ZEND_ARG_TYPE_INFO(0, len, IS_LONG, 0) ZEND_END_ARG_INFO() -/* array each(array arr) */ -ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_each, 0, 1, IS_ARRAY, 0, 0) - ZEND_ARG_TYPE_INFO(0, arr, IS_ARRAY, 0) +/* array each(array &arr) */ +ZEND_BEGIN_ARG_INFO_EX(arginfo_each, 0, 0, 1) + ZEND_ARG_TYPE_INFO(1, arr, IS_ARRAY, 0) ZEND_END_ARG_INFO() /* int error_reporting([int new_error_level]) */

« previous php.cvs (#87426) next »