summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions_arginfo.h
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2019-12-20 11:10:20 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2019-12-20 14:31:57 +0100
commit0e8070778ef1265cb3bdac68411c271e696f2059 (patch)
treee6299ec1d6215518f0c1525e94c693f52bf1912f /Zend/zend_builtin_functions_arginfo.h
parentf52f471a5e65ecbc6a81a8c417be9c1fd12b600e (diff)
downloadphp-git-0e8070778ef1265cb3bdac68411c271e696f2059.tar.gz
Make get_defined_vars() always return an array
GH-5025
Diffstat (limited to 'Zend/zend_builtin_functions_arginfo.h')
-rw-r--r--Zend/zend_builtin_functions_arginfo.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zend/zend_builtin_functions_arginfo.h b/Zend/zend_builtin_functions_arginfo.h
index bfe5b82a8a..3b1df2ab49 100644
--- a/Zend/zend_builtin_functions_arginfo.h
+++ b/Zend/zend_builtin_functions_arginfo.h
@@ -143,8 +143,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_defined_functions, 0, 0, IS_
ZEND_ARG_TYPE_INFO(0, exclude_disabled, _IS_BOOL, 0)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_defined_vars, 0, 0, IS_ARRAY, 1)
-ZEND_END_ARG_INFO()
+#define arginfo_get_defined_vars arginfo_get_included_files
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_resource_type, 0, 1, IS_STRING, 0)
ZEND_ARG_INFO(0, res)