php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
object_handlers_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 81be60f2c465ffe5c036739d072ab80d9c388907 */
3
4ZEND_BEGIN_ARG_INFO_EX(arginfo_class_DoOperationNoCast___construct, 0, 0, 1)
7
8#define arginfo_class_LongCastableNoOperations___construct arginfo_class_DoOperationNoCast___construct
9
10ZEND_BEGIN_ARG_INFO_EX(arginfo_class_FloatCastableNoOperations___construct, 0, 0, 1)
13
14ZEND_BEGIN_ARG_INFO_EX(arginfo_class_NumericCastableNoOperations___construct, 0, 0, 1)
17
18static ZEND_METHOD(DoOperationNoCast, __construct);
19static ZEND_METHOD(LongCastableNoOperations, __construct);
20static ZEND_METHOD(FloatCastableNoOperations, __construct);
21static ZEND_METHOD(NumericCastableNoOperations, __construct);
22
23static const zend_function_entry class_DoOperationNoCast_methods[] = {
24 ZEND_ME(DoOperationNoCast, __construct, arginfo_class_DoOperationNoCast___construct, ZEND_ACC_PUBLIC)
26};
27
28static const zend_function_entry class_LongCastableNoOperations_methods[] = {
31};
32
33static const zend_function_entry class_FloatCastableNoOperations_methods[] = {
34 ZEND_ME(FloatCastableNoOperations, __construct, arginfo_class_FloatCastableNoOperations___construct, ZEND_ACC_PUBLIC)
36};
37
38static const zend_function_entry class_NumericCastableNoOperations_methods[] = {
39 ZEND_ME(NumericCastableNoOperations, __construct, arginfo_class_NumericCastableNoOperations___construct, ZEND_ACC_PUBLIC)
41};
42
43static zend_class_entry *register_class_DoOperationNoCast(void)
44{
45 zend_class_entry ce, *class_entry;
46
47 INIT_CLASS_ENTRY(ce, "DoOperationNoCast", class_DoOperationNoCast_methods);
49
50 zval property_val_default_value;
51 ZVAL_UNDEF(&property_val_default_value);
52 zend_string *property_val_name = zend_string_init("val", sizeof("val") - 1, 1);
53 zend_declare_typed_property(class_entry, property_val_name, &property_val_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
54 zend_string_release(property_val_name);
55
56 return class_entry;
57}
58
59static zend_class_entry *register_class_LongCastableNoOperations(void)
60{
61 zend_class_entry ce, *class_entry;
62
63 INIT_CLASS_ENTRY(ce, "LongCastableNoOperations", class_LongCastableNoOperations_methods);
65
66 zval property_val_default_value;
67 ZVAL_UNDEF(&property_val_default_value);
68 zend_string *property_val_name = zend_string_init("val", sizeof("val") - 1, 1);
69 zend_declare_typed_property(class_entry, property_val_name, &property_val_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
70 zend_string_release(property_val_name);
71
72 return class_entry;
73}
74
75static zend_class_entry *register_class_FloatCastableNoOperations(void)
76{
77 zend_class_entry ce, *class_entry;
78
79 INIT_CLASS_ENTRY(ce, "FloatCastableNoOperations", class_FloatCastableNoOperations_methods);
81
82 zval property_val_default_value;
83 ZVAL_UNDEF(&property_val_default_value);
84 zend_string *property_val_name = zend_string_init("val", sizeof("val") - 1, 1);
85 zend_declare_typed_property(class_entry, property_val_name, &property_val_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_DOUBLE));
86 zend_string_release(property_val_name);
87
88 return class_entry;
89}
90
91static zend_class_entry *register_class_NumericCastableNoOperations(void)
92{
93 zend_class_entry ce, *class_entry;
94
95 INIT_CLASS_ENTRY(ce, "NumericCastableNoOperations", class_NumericCastableNoOperations_methods);
97
98 zval property_val_default_value;
99 ZVAL_UNDEF(&property_val_default_value);
100 zend_string *property_val_name = zend_string_init("val", sizeof("val") - 1, 1);
101 zend_declare_typed_property(class_entry, property_val_name, &property_val_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG|MAY_BE_DOUBLE));
102 zend_string_release(property_val_name);
103
104 return class_entry;
105}
106
107static zend_class_entry *register_class_DimensionHandlersNoArrayAccess(void)
108{
109 zend_class_entry ce, *class_entry;
110
111 INIT_CLASS_ENTRY(ce, "DimensionHandlersNoArrayAccess", NULL);
112 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
113
114 zval property_read_default_value;
115 ZVAL_FALSE(&property_read_default_value);
116 zend_string *property_read_name = zend_string_init("read", sizeof("read") - 1, 1);
117 zend_declare_typed_property(class_entry, property_read_name, &property_read_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
118 zend_string_release(property_read_name);
119
120 zval property_write_default_value;
121 ZVAL_FALSE(&property_write_default_value);
122 zend_string *property_write_name = zend_string_init("write", sizeof("write") - 1, 1);
123 zend_declare_typed_property(class_entry, property_write_name, &property_write_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
124 zend_string_release(property_write_name);
125
126 zval property_has_default_value;
127 ZVAL_FALSE(&property_has_default_value);
128 zend_string *property_has_name = zend_string_init("has", sizeof("has") - 1, 1);
129 zend_declare_typed_property(class_entry, property_has_name, &property_has_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
130 zend_string_release(property_has_name);
131
132 zval property_unset_default_value;
133 ZVAL_FALSE(&property_unset_default_value);
134 zend_string *property_unset_name = zend_string_init("unset", sizeof("unset") - 1, 1);
135 zend_declare_typed_property(class_entry, property_unset_name, &property_unset_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
136 zend_string_release(property_unset_name);
137
138 zval property_readType_default_value;
139 ZVAL_UNDEF(&property_readType_default_value);
140 zend_string *property_readType_name = zend_string_init("readType", sizeof("readType") - 1, 1);
141 zend_declare_typed_property(class_entry, property_readType_name, &property_readType_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
142 zend_string_release(property_readType_name);
143
144 zval property_hasOffset_default_value;
145 ZVAL_FALSE(&property_hasOffset_default_value);
146 zend_string *property_hasOffset_name = zend_string_init("hasOffset", sizeof("hasOffset") - 1, 1);
147 zend_declare_typed_property(class_entry, property_hasOffset_name, &property_hasOffset_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
148 zend_string_release(property_hasOffset_name);
149
150 zval property_checkEmpty_default_value;
151 ZVAL_UNDEF(&property_checkEmpty_default_value);
152 zend_string *property_checkEmpty_name = zend_string_init("checkEmpty", sizeof("checkEmpty") - 1, 1);
153 zend_declare_typed_property(class_entry, property_checkEmpty_name, &property_checkEmpty_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
154 zend_string_release(property_checkEmpty_name);
155
156 zval property_offset_default_value;
157 ZVAL_UNDEF(&property_offset_default_value);
158 zend_string *property_offset_name = zend_string_init("offset", sizeof("offset") - 1, 1);
159 zend_declare_typed_property(class_entry, property_offset_name, &property_offset_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
160 zend_string_release(property_offset_name);
161
162 return class_entry;
163}
zval * val
Definition ffi.c:4262
#define NULL
Definition gdcache.h:45
#define arginfo_class_LongCastableNoOperations___construct
ZEND_API zend_property_info * zend_declare_typed_property(zend_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment, zend_type type)
Definition zend_API.c:4505
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 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_METHOD(classname, name)
Definition zend_API.h:76
#define ZEND_END_ARG_INFO()
Definition zend_API.h:219
#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
struct _zval_struct zval
#define ZEND_ACC_FINAL
#define ZEND_ACC_PRIVATE
#define ZEND_ACC_PUBLIC
struct _zend_string zend_string
struct _zend_class_entry zend_class_entry
#define MAY_BE_BOOL
#define MAY_BE_DOUBLE
#define MAY_BE_LONG
#define MAY_BE_ANY
#define ZVAL_FALSE(z)
#define ZVAL_UNDEF(z)
#define ZEND_TYPE_INIT_MASK(_type_mask)
Definition zend_types.h:283
#define IS_DOUBLE
Definition zend_types.h:605
#define IS_LONG
Definition zend_types.h:604