Skip to content

Commit a8427e7

Browse files
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Fixed arginfo for get_defined_functions
2 parents 77f3cef + 58aa726 commit a8427e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Zend/zend_builtin_functions.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_set_exception_handler, 0, 0, 1)
193193
ZEND_ARG_INFO(0, exception_handler)
194194
ZEND_END_ARG_INFO()
195195

196+
ZEND_BEGIN_ARG_INFO_EX(arginfo_get_defined_functions, 0, 0, 1)
197+
ZEND_ARG_INFO(0, exclude_disabled)
198+
ZEND_END_ARG_INFO()
199+
196200
ZEND_BEGIN_ARG_INFO_EX(arginfo_create_function, 0, 0, 2)
197201
ZEND_ARG_INFO(0, args)
198202
ZEND_ARG_INFO(0, code)
@@ -270,7 +274,7 @@ static const zend_function_entry builtin_functions[] = { /* {{{ */
270274
ZEND_FE(get_declared_classes, arginfo_zend__void)
271275
ZEND_FE(get_declared_traits, arginfo_zend__void)
272276
ZEND_FE(get_declared_interfaces, arginfo_zend__void)
273-
ZEND_FE(get_defined_functions, arginfo_zend__void)
277+
ZEND_FE(get_defined_functions, arginfo_get_defined_functions)
274278
ZEND_FE(get_defined_vars, arginfo_zend__void)
275279
ZEND_DEP_FE(create_function, arginfo_create_function)
276280
ZEND_FE(get_resource_type, arginfo_get_resource_type)

0 commit comments

Comments
 (0)