php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_attributes_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 2358a0d820edd06a1702c84104bfd545af08311c */
3
4ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Attribute___construct, 0, 0, 0)
5 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "Attribute::TARGET_ALL")
7
8ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReturnTypeWillChange___construct, 0, 0, 0)
10
11#define arginfo_class_AllowDynamicProperties___construct arginfo_class_ReturnTypeWillChange___construct
12
13#define arginfo_class_SensitiveParameter___construct arginfo_class_ReturnTypeWillChange___construct
14
15ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SensitiveParameterValue___construct, 0, 0, 1)
18
19ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_SensitiveParameterValue_getValue, 0, 0, IS_MIXED, 0)
21
22ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_SensitiveParameterValue___debugInfo, 0, 0, IS_ARRAY, 0)
24
25#define arginfo_class_Override___construct arginfo_class_ReturnTypeWillChange___construct
26
27ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Deprecated___construct, 0, 0, 0)
31
32ZEND_METHOD(Attribute, __construct);
39ZEND_METHOD(Override, __construct);
40ZEND_METHOD(Deprecated, __construct);
41
42static const zend_function_entry class_Attribute_methods[] = {
43 ZEND_ME(Attribute, __construct, arginfo_class_Attribute___construct, ZEND_ACC_PUBLIC)
45};
46
47static const zend_function_entry class_ReturnTypeWillChange_methods[] = {
48 ZEND_ME(ReturnTypeWillChange, __construct, arginfo_class_ReturnTypeWillChange___construct, ZEND_ACC_PUBLIC)
50};
51
52static const zend_function_entry class_AllowDynamicProperties_methods[] = {
55};
56
57static const zend_function_entry class_SensitiveParameter_methods[] = {
60};
61
62static const zend_function_entry class_SensitiveParameterValue_methods[] = {
63 ZEND_ME(SensitiveParameterValue, __construct, arginfo_class_SensitiveParameterValue___construct, ZEND_ACC_PUBLIC)
64 ZEND_ME(SensitiveParameterValue, getValue, arginfo_class_SensitiveParameterValue_getValue, ZEND_ACC_PUBLIC)
65 ZEND_ME(SensitiveParameterValue, __debugInfo, arginfo_class_SensitiveParameterValue___debugInfo, ZEND_ACC_PUBLIC)
67};
68
69static const zend_function_entry class_Override_methods[] = {
72};
73
74static const zend_function_entry class_Deprecated_methods[] = {
75 ZEND_ME(Deprecated, __construct, arginfo_class_Deprecated___construct, ZEND_ACC_PUBLIC)
77};
78
79static zend_class_entry *register_class_Attribute(void)
80{
81 zend_class_entry ce, *class_entry;
82
83 INIT_CLASS_ENTRY(ce, "Attribute", class_Attribute_methods);
85
86 zval const_TARGET_CLASS_value;
87 ZVAL_LONG(&const_TARGET_CLASS_value, ZEND_ATTRIBUTE_TARGET_CLASS);
88 zend_string *const_TARGET_CLASS_name = zend_string_init_interned("TARGET_CLASS", sizeof("TARGET_CLASS") - 1, 1);
89 zend_declare_typed_class_constant(class_entry, const_TARGET_CLASS_name, &const_TARGET_CLASS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
90 zend_string_release(const_TARGET_CLASS_name);
91
92 zval const_TARGET_FUNCTION_value;
93 ZVAL_LONG(&const_TARGET_FUNCTION_value, ZEND_ATTRIBUTE_TARGET_FUNCTION);
94 zend_string *const_TARGET_FUNCTION_name = zend_string_init_interned("TARGET_FUNCTION", sizeof("TARGET_FUNCTION") - 1, 1);
95 zend_declare_typed_class_constant(class_entry, const_TARGET_FUNCTION_name, &const_TARGET_FUNCTION_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
96 zend_string_release(const_TARGET_FUNCTION_name);
97
98 zval const_TARGET_METHOD_value;
99 ZVAL_LONG(&const_TARGET_METHOD_value, ZEND_ATTRIBUTE_TARGET_METHOD);
100 zend_string *const_TARGET_METHOD_name = zend_string_init_interned("TARGET_METHOD", sizeof("TARGET_METHOD") - 1, 1);
101 zend_declare_typed_class_constant(class_entry, const_TARGET_METHOD_name, &const_TARGET_METHOD_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
102 zend_string_release(const_TARGET_METHOD_name);
103
104 zval const_TARGET_PROPERTY_value;
105 ZVAL_LONG(&const_TARGET_PROPERTY_value, ZEND_ATTRIBUTE_TARGET_PROPERTY);
106 zend_string *const_TARGET_PROPERTY_name = zend_string_init_interned("TARGET_PROPERTY", sizeof("TARGET_PROPERTY") - 1, 1);
107 zend_declare_typed_class_constant(class_entry, const_TARGET_PROPERTY_name, &const_TARGET_PROPERTY_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
108 zend_string_release(const_TARGET_PROPERTY_name);
109
110 zval const_TARGET_CLASS_CONSTANT_value;
111 ZVAL_LONG(&const_TARGET_CLASS_CONSTANT_value, ZEND_ATTRIBUTE_TARGET_CLASS_CONST);
112 zend_string *const_TARGET_CLASS_CONSTANT_name = zend_string_init_interned("TARGET_CLASS_CONSTANT", sizeof("TARGET_CLASS_CONSTANT") - 1, 1);
113 zend_declare_typed_class_constant(class_entry, const_TARGET_CLASS_CONSTANT_name, &const_TARGET_CLASS_CONSTANT_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
114 zend_string_release(const_TARGET_CLASS_CONSTANT_name);
115
116 zval const_TARGET_PARAMETER_value;
117 ZVAL_LONG(&const_TARGET_PARAMETER_value, ZEND_ATTRIBUTE_TARGET_PARAMETER);
118 zend_string *const_TARGET_PARAMETER_name = zend_string_init_interned("TARGET_PARAMETER", sizeof("TARGET_PARAMETER") - 1, 1);
119 zend_declare_typed_class_constant(class_entry, const_TARGET_PARAMETER_name, &const_TARGET_PARAMETER_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
120 zend_string_release(const_TARGET_PARAMETER_name);
121
122 zval const_TARGET_ALL_value;
123 ZVAL_LONG(&const_TARGET_ALL_value, ZEND_ATTRIBUTE_TARGET_ALL);
124 zend_string *const_TARGET_ALL_name = zend_string_init_interned("TARGET_ALL", sizeof("TARGET_ALL") - 1, 1);
125 zend_declare_typed_class_constant(class_entry, const_TARGET_ALL_name, &const_TARGET_ALL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
126 zend_string_release(const_TARGET_ALL_name);
127
128 zval const_IS_REPEATABLE_value;
129 ZVAL_LONG(&const_IS_REPEATABLE_value, ZEND_ATTRIBUTE_IS_REPEATABLE);
130 zend_string *const_IS_REPEATABLE_name = zend_string_init_interned("IS_REPEATABLE", sizeof("IS_REPEATABLE") - 1, 1);
131 zend_declare_typed_class_constant(class_entry, const_IS_REPEATABLE_name, &const_IS_REPEATABLE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
132 zend_string_release(const_IS_REPEATABLE_name);
133
134 zval property_flags_default_value;
135 ZVAL_UNDEF(&property_flags_default_value);
136 zend_string *property_flags_name = zend_string_init("flags", sizeof("flags") - 1, 1);
137 zend_declare_typed_property(class_entry, property_flags_name, &property_flags_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
138 zend_string_release(property_flags_name);
139
140 zend_string *attribute_name_Attribute_class_Attribute_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1);
141 zend_attribute *attribute_Attribute_class_Attribute_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_Attribute_0, 1);
142 zend_string_release(attribute_name_Attribute_class_Attribute_0);
143 zval attribute_Attribute_class_Attribute_0_arg0;
144 ZVAL_LONG(&attribute_Attribute_class_Attribute_0_arg0, ZEND_ATTRIBUTE_TARGET_CLASS);
145 ZVAL_COPY_VALUE(&attribute_Attribute_class_Attribute_0->args[0].value, &attribute_Attribute_class_Attribute_0_arg0);
146
147 return class_entry;
148}
149
150static zend_class_entry *register_class_ReturnTypeWillChange(void)
151{
152 zend_class_entry ce, *class_entry;
153
154 INIT_CLASS_ENTRY(ce, "ReturnTypeWillChange", class_ReturnTypeWillChange_methods);
156
157 zend_string *attribute_name_Attribute_class_ReturnTypeWillChange_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1);
158 zend_attribute *attribute_Attribute_class_ReturnTypeWillChange_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_ReturnTypeWillChange_0, 1);
159 zend_string_release(attribute_name_Attribute_class_ReturnTypeWillChange_0);
160 zval attribute_Attribute_class_ReturnTypeWillChange_0_arg0;
161 ZVAL_LONG(&attribute_Attribute_class_ReturnTypeWillChange_0_arg0, ZEND_ATTRIBUTE_TARGET_METHOD);
162 ZVAL_COPY_VALUE(&attribute_Attribute_class_ReturnTypeWillChange_0->args[0].value, &attribute_Attribute_class_ReturnTypeWillChange_0_arg0);
163
164 return class_entry;
165}
166
167static zend_class_entry *register_class_AllowDynamicProperties(void)
168{
169 zend_class_entry ce, *class_entry;
170
171 INIT_CLASS_ENTRY(ce, "AllowDynamicProperties", class_AllowDynamicProperties_methods);
173
174 zend_string *attribute_name_Attribute_class_AllowDynamicProperties_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1);
175 zend_attribute *attribute_Attribute_class_AllowDynamicProperties_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_AllowDynamicProperties_0, 1);
176 zend_string_release(attribute_name_Attribute_class_AllowDynamicProperties_0);
177 zval attribute_Attribute_class_AllowDynamicProperties_0_arg0;
178 ZVAL_LONG(&attribute_Attribute_class_AllowDynamicProperties_0_arg0, ZEND_ATTRIBUTE_TARGET_CLASS);
179 ZVAL_COPY_VALUE(&attribute_Attribute_class_AllowDynamicProperties_0->args[0].value, &attribute_Attribute_class_AllowDynamicProperties_0_arg0);
180
181 return class_entry;
182}
183
184static zend_class_entry *register_class_SensitiveParameter(void)
185{
186 zend_class_entry ce, *class_entry;
187
188 INIT_CLASS_ENTRY(ce, "SensitiveParameter", class_SensitiveParameter_methods);
190
191 zend_string *attribute_name_Attribute_class_SensitiveParameter_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1);
192 zend_attribute *attribute_Attribute_class_SensitiveParameter_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_SensitiveParameter_0, 1);
193 zend_string_release(attribute_name_Attribute_class_SensitiveParameter_0);
194 zval attribute_Attribute_class_SensitiveParameter_0_arg0;
195 ZVAL_LONG(&attribute_Attribute_class_SensitiveParameter_0_arg0, ZEND_ATTRIBUTE_TARGET_PARAMETER);
196 ZVAL_COPY_VALUE(&attribute_Attribute_class_SensitiveParameter_0->args[0].value, &attribute_Attribute_class_SensitiveParameter_0_arg0);
197
198 return class_entry;
199}
200
201static zend_class_entry *register_class_SensitiveParameterValue(void)
202{
203 zend_class_entry ce, *class_entry;
204
205 INIT_CLASS_ENTRY(ce, "SensitiveParameterValue", class_SensitiveParameterValue_methods);
207
208 zval property_value_default_value;
209 ZVAL_UNDEF(&property_value_default_value);
210 zend_string *property_value_name = zend_string_init("value", sizeof("value") - 1, 1);
211 zend_declare_typed_property(class_entry, property_value_name, &property_value_default_value, ZEND_ACC_PRIVATE|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
212 zend_string_release(property_value_name);
213
214 return class_entry;
215}
216
217static zend_class_entry *register_class_Override(void)
218{
219 zend_class_entry ce, *class_entry;
220
221 INIT_CLASS_ENTRY(ce, "Override", class_Override_methods);
223
224 zend_string *attribute_name_Attribute_class_Override_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1);
225 zend_attribute *attribute_Attribute_class_Override_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_Override_0, 1);
226 zend_string_release(attribute_name_Attribute_class_Override_0);
227 zval attribute_Attribute_class_Override_0_arg0;
228 ZVAL_LONG(&attribute_Attribute_class_Override_0_arg0, ZEND_ATTRIBUTE_TARGET_METHOD);
229 ZVAL_COPY_VALUE(&attribute_Attribute_class_Override_0->args[0].value, &attribute_Attribute_class_Override_0_arg0);
230
231 return class_entry;
232}
233
234static zend_class_entry *register_class_Deprecated(void)
235{
236 zend_class_entry ce, *class_entry;
237
238 INIT_CLASS_ENTRY(ce, "Deprecated", class_Deprecated_methods);
240
241 zval property_message_default_value;
242 ZVAL_UNDEF(&property_message_default_value);
243 zend_string *property_message_name = zend_string_init("message", sizeof("message") - 1, 1);
244 zend_declare_typed_property(class_entry, property_message_name, &property_message_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
245 zend_string_release(property_message_name);
246
247 zval property_since_default_value;
248 ZVAL_UNDEF(&property_since_default_value);
249 zend_string *property_since_name = zend_string_init("since", sizeof("since") - 1, 1);
250 zend_declare_typed_property(class_entry, property_since_name, &property_since_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
251 zend_string_release(property_since_name);
252
253 zend_string *attribute_name_Attribute_class_Deprecated_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1);
254 zend_attribute *attribute_Attribute_class_Deprecated_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_Deprecated_0, 1);
255 zend_string_release(attribute_name_Attribute_class_Deprecated_0);
256 zval attribute_Attribute_class_Deprecated_0_arg0;
258 ZVAL_COPY_VALUE(&attribute_Attribute_class_Deprecated_0->args[0].value, &attribute_Attribute_class_Deprecated_0_arg0);
259
260 return class_entry;
261}
#define NULL
Definition gdcache.h:45
zend_attribute_arg args[1]
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_constant * zend_declare_typed_class_constant(zend_class_entry *ce, zend_string *name, zval *value, int flags, zend_string *doc_comment, zend_type type)
Definition zend_API.c:4859
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_METHOD(classname, name)
Definition zend_API.h:76
#define ZEND_END_ARG_INFO()
Definition zend_API.h:219
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
Definition zend_API.h:140
#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
#define ZEND_ATTRIBUTE_TARGET_METHOD
#define ZEND_ATTRIBUTE_TARGET_PARAMETER
#define ZEND_ATTRIBUTE_IS_REPEATABLE
#define ZEND_ATTRIBUTE_TARGET_ALL
struct _zend_attribute zend_attribute
#define ZEND_ATTRIBUTE_TARGET_FUNCTION
#define ZEND_ATTRIBUTE_TARGET_CLASS_CONST
#define ZEND_ATTRIBUTE_TARGET_PROPERTY
#define ZEND_ATTRIBUTE_TARGET_CLASS
#define arginfo_class_SensitiveParameter___construct
#define arginfo_class_AllowDynamicProperties___construct
#define arginfo_class_Override___construct
struct _zval_struct zval
#define ZEND_ACC_NO_DYNAMIC_PROPERTIES
#define ZEND_ACC_FINAL
#define ZEND_ACC_NOT_SERIALIZABLE
#define ZEND_ACC_READONLY
#define ZEND_ACC_PRIVATE
#define ZEND_ACC_PUBLIC
struct _zend_string zend_string
struct _zend_class_entry zend_class_entry
ZEND_API zend_string_init_interned_func_t zend_string_init_interned
Definition zend_string.c:31
#define MAY_BE_STRING
#define MAY_BE_NULL
#define MAY_BE_LONG
#define MAY_BE_ANY
#define ZVAL_UNDEF(z)
#define ZEND_TYPE_INIT_MASK(_type_mask)
Definition zend_types.h:283
#define ZVAL_LONG(z, l)
#define IS_STRING
Definition zend_types.h:606
#define IS_ARRAY
Definition zend_types.h:607
#define IS_LONG
Definition zend_types.h:604
#define IS_MIXED
Definition zend_types.h:619
#define ZVAL_COPY_VALUE(z, v)
value