Skip to content

Commit 932c95f

Browse files
committed
And actually use this new arginfo data
1 parent b524028 commit 932c95f

File tree

1 file changed

+19
-22
lines changed

1 file changed

+19
-22
lines changed

Zend/zend_builtin_functions.c

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ static ZEND_FUNCTION(gc_enable);
9999
static ZEND_FUNCTION(gc_disable);
100100

101101
/* {{{ arginfo */
102-
ZEND_BEGIN_ARG_INFO(arginfo_zend__void, 0)
103-
ZEND_END_ARG_INFO()
104-
105102
/* string zend_version(void) */
106103
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_version, 0, 0, IS_STRING, 0, 0)
107104
ZEND_END_ARG_INFO()
@@ -397,10 +394,10 @@ ZEND_END_ARG_INFO()
397394
/* }}} */
398395

399396
static const zend_function_entry builtin_functions[] = { /* {{{ */
400-
ZEND_FE(zend_version, arginfo_zend__void)
401-
ZEND_FE(func_num_args, arginfo_zend__void)
397+
ZEND_FE(zend_version, arginfo_zend_version)
398+
ZEND_FE(func_num_args, arginfo_func_num_args)
402399
ZEND_FE(func_get_arg, arginfo_func_get_arg)
403-
ZEND_FE(func_get_args, arginfo_zend__void)
400+
ZEND_FE(func_get_args, arginfo_func_get_args)
404401
ZEND_FE(strlen, arginfo_strlen)
405402
ZEND_FE(strcmp, arginfo_strcmp)
406403
ZEND_FE(strncmp, arginfo_strncmp)
@@ -411,7 +408,7 @@ static const zend_function_entry builtin_functions[] = { /* {{{ */
411408
ZEND_FE(define, arginfo_define)
412409
ZEND_FE(defined, arginfo_defined)
413410
ZEND_FE(get_class, arginfo_get_class)
414-
ZEND_FE(get_called_class, arginfo_zend__void)
411+
ZEND_FE(get_called_class, arginfo_get_called_class)
415412
ZEND_FE(get_parent_class, arginfo_get_class)
416413
ZEND_FE(method_exists, arginfo_method_exists)
417414
ZEND_FE(property_exists, arginfo_property_exists)
@@ -421,14 +418,14 @@ static const zend_function_entry builtin_functions[] = { /* {{{ */
421418
ZEND_FE(function_exists, arginfo_function_exists)
422419
ZEND_FE(class_alias, arginfo_class_alias)
423420
#if ZEND_DEBUG
424-
ZEND_FE(leak, NULL)
421+
ZEND_FE(leak, arginfo_leak)
425422
ZEND_FE(leak_variable, arginfo_leak_variable)
426423
#ifdef ZEND_TEST_EXCEPTIONS
427-
ZEND_FE(crash, NULL)
424+
ZEND_FE(crash, arginfo_crash)
428425
#endif
429426
#endif
430-
ZEND_FE(get_included_files, arginfo_zend__void)
431-
ZEND_FALIAS(get_required_files, get_included_files, arginfo_zend__void)
427+
ZEND_FE(get_included_files, arginfo_get_included_files)
428+
ZEND_FALIAS(get_required_files, get_included_files, arginfo_get_included_files)
432429
ZEND_FE(is_subclass_of, arginfo_is_subclass_of)
433430
ZEND_FE(is_a, arginfo_is_subclass_of)
434431
ZEND_FE(get_class_vars, arginfo_get_class_vars)
@@ -437,14 +434,14 @@ static const zend_function_entry builtin_functions[] = { /* {{{ */
437434
ZEND_FE(trigger_error, arginfo_trigger_error)
438435
ZEND_FALIAS(user_error, trigger_error, arginfo_trigger_error)
439436
ZEND_FE(set_error_handler, arginfo_set_error_handler)
440-
ZEND_FE(restore_error_handler, arginfo_zend__void)
437+
ZEND_FE(restore_error_handler, arginfo_restore_error_handler)
441438
ZEND_FE(set_exception_handler, arginfo_set_exception_handler)
442-
ZEND_FE(restore_exception_handler, arginfo_zend__void)
443-
ZEND_FE(get_declared_classes, arginfo_zend__void)
444-
ZEND_FE(get_declared_traits, arginfo_zend__void)
445-
ZEND_FE(get_declared_interfaces, arginfo_zend__void)
446-
ZEND_FE(get_defined_functions, arginfo_zend__void)
447-
ZEND_FE(get_defined_vars, arginfo_zend__void)
439+
ZEND_FE(restore_exception_handler, arginfo_restore_exception_handler)
440+
ZEND_FE(get_declared_classes, arginfo_get_declared_classes)
441+
ZEND_FE(get_declared_traits, arginfo_get_declared_traits)
442+
ZEND_FE(get_declared_interfaces, arginfo_get_declared_interfaces)
443+
ZEND_FE(get_defined_functions, arginfo_get_defined_functions)
444+
ZEND_FE(get_defined_vars, arginfo_get_defined_vars)
448445
ZEND_FE(create_function, arginfo_create_function)
449446
ZEND_FE(get_resource_type, arginfo_get_resource_type)
450447
ZEND_FE(get_resources, arginfo_get_resources)
@@ -461,10 +458,10 @@ static const zend_function_entry builtin_functions[] = { /* {{{ */
461458
ZEND_FE(zend_thread_id, NULL)
462459
#endif
463460
#endif
464-
ZEND_FE(gc_collect_cycles, arginfo_zend__void)
465-
ZEND_FE(gc_enabled, arginfo_zend__void)
466-
ZEND_FE(gc_enable, arginfo_zend__void)
467-
ZEND_FE(gc_disable, arginfo_zend__void)
461+
ZEND_FE(gc_collect_cycles, arginfo_gc_collect_cycles)
462+
ZEND_FE(gc_enabled, arginfo_gc_enabled)
463+
ZEND_FE(gc_enable, arginfo_gc_enable)
464+
ZEND_FE(gc_disable, arginfo_gc_disable)
468465
ZEND_FE_END
469466
};
470467
/* }}} */

0 commit comments

Comments
 (0)