summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-06-22 10:03:14 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-06-22 10:03:14 +0200
commit19fd124bcf2380f8e928795d1fe1900a02635298 (patch)
tree5d0461327202ed4e420202ecabcbc39b94349fc8 /Zend/zend_builtin_functions.c
parent932c95fb3106d0f3fd742e3f2a01f749f6d69182 (diff)
downloadphp-git-19fd124bcf2380f8e928795d1fe1900a02635298.tar.gz
Fix each() arginfo
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r--Zend/zend_builtin_functions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index c285f81afd..98970e252a 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]) */