php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_closures_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: e3b480674671a698814db282c5ea34d438fe519d */
3
4ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Closure___construct, 0, 0, 0)
6
7ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Closure_bind, 0, 2, Closure, 1)
8 ZEND_ARG_OBJ_INFO(0, closure, Closure, 0)
9 ZEND_ARG_TYPE_INFO(0, newThis, IS_OBJECT, 1)
12
13ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Closure_bindTo, 0, 1, Closure, 1)
14 ZEND_ARG_TYPE_INFO(0, newThis, IS_OBJECT, 1)
17
18ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Closure_call, 0, 1, IS_MIXED, 0)
19 ZEND_ARG_TYPE_INFO(0, newThis, IS_OBJECT, 0)
22
23ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Closure_fromCallable, 0, 1, Closure, 0)
26
27ZEND_METHOD(Closure, __construct);
28ZEND_METHOD(Closure, bind);
29ZEND_METHOD(Closure, bindTo);
31ZEND_METHOD(Closure, fromCallable);
32
33static const zend_function_entry class_Closure_methods[] = {
34 ZEND_ME(Closure, __construct, arginfo_class_Closure___construct, ZEND_ACC_PRIVATE)
35 ZEND_ME(Closure, bind, arginfo_class_Closure_bind, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
36 ZEND_ME(Closure, bindTo, arginfo_class_Closure_bindTo, ZEND_ACC_PUBLIC)
37 ZEND_ME(Closure, call, arginfo_class_Closure_call, ZEND_ACC_PUBLIC)
38 ZEND_ME(Closure, fromCallable, arginfo_class_Closure_fromCallable, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
40};
41
42static zend_class_entry *register_class_Closure(void)
43{
44 zend_class_entry ce, *class_entry;
45
46 INIT_CLASS_ENTRY(ce, "Closure", class_Closure_methods);
48
49 return class_entry;
50}
zval callback
Definition assert.c:25
#define NULL
Definition gdcache.h:45
ZEND_API zend_class_entry * zend_register_internal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t ce_flags)
Definition zend_API.c:3512
#define ZEND_FE_END
Definition zend_API.h:124
struct _zend_function_entry zend_function_entry
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
Definition zend_API.h:205
#define INIT_CLASS_ENTRY(class_container, class_name, functions)
Definition zend_API.h:279
#define ZEND_ARG_TYPE_MASK(pass_by_ref, name, type_mask, default_value)
Definition zend_API.h:146
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(name, return_reference, required_num_args, class_name, allow_null)
Definition zend_API.h:172
#define ZEND_METHOD(classname, name)
Definition zend_API.h:76
#define ZEND_END_ARG_INFO()
Definition zend_API.h:219
#define ZEND_ARG_VARIADIC_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
Definition zend_API.h:142
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
Definition zend_API.h:154
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
Definition zend_API.h:138
#define ZEND_BEGIN_ARG_INFO_EX(name, _unused, return_reference, required_num_args)
Definition zend_API.h:214
#define ZEND_ME(classname, name, arg_info, flags)
Definition zend_API.h:91
zval * args
#define ZEND_ACC_NO_DYNAMIC_PROPERTIES
#define ZEND_ACC_FINAL
#define ZEND_ACC_NOT_SERIALIZABLE
#define ZEND_ACC_PRIVATE
#define ZEND_ACC_STATIC
#define ZEND_ACC_PUBLIC
struct _zend_class_entry zend_class_entry
#define MAY_BE_STRING
#define MAY_BE_NULL
#define MAY_BE_OBJECT
#define IS_OBJECT
Definition zend_types.h:608
#define IS_MIXED
Definition zend_types.h:619
#define IS_CALLABLE
Definition zend_types.h:615
zend_execute_data * call