/src/php-src/Zend/zend_attributes_arginfo.h
Line | Count | Source |
1 | | /* This is a generated file, edit the .stub.php file instead. |
2 | | * Stub hash: 9aee3d8f2ced376f5929048444eaa2529ff90311 */ |
3 | | |
4 | | ZEND_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") |
6 | | ZEND_END_ARG_INFO() |
7 | | |
8 | | ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReturnTypeWillChange___construct, 0, 0, 0) |
9 | | ZEND_END_ARG_INFO() |
10 | | |
11 | | #define arginfo_class_AllowDynamicProperties___construct arginfo_class_ReturnTypeWillChange___construct |
12 | | |
13 | | #define arginfo_class_SensitiveParameter___construct arginfo_class_ReturnTypeWillChange___construct |
14 | | |
15 | | ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SensitiveParameterValue___construct, 0, 0, 1) |
16 | | ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0) |
17 | | ZEND_END_ARG_INFO() |
18 | | |
19 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_SensitiveParameterValue_getValue, 0, 0, IS_MIXED, 0) |
20 | | ZEND_END_ARG_INFO() |
21 | | |
22 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_SensitiveParameterValue___debugInfo, 0, 0, IS_ARRAY, 0) |
23 | | ZEND_END_ARG_INFO() |
24 | | |
25 | | #define arginfo_class_Override___construct arginfo_class_ReturnTypeWillChange___construct |
26 | | |
27 | | ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Deprecated___construct, 0, 0, 0) |
28 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, message, IS_STRING, 1, "null") |
29 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, since, IS_STRING, 1, "null") |
30 | | ZEND_END_ARG_INFO() |
31 | | |
32 | | ZEND_BEGIN_ARG_INFO_EX(arginfo_class_NoDiscard___construct, 0, 0, 0) |
33 | | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, message, IS_STRING, 1, "null") |
34 | | ZEND_END_ARG_INFO() |
35 | | |
36 | | ZEND_METHOD(Attribute, __construct); |
37 | | ZEND_METHOD(ReturnTypeWillChange, __construct); |
38 | | ZEND_METHOD(AllowDynamicProperties, __construct); |
39 | | ZEND_METHOD(SensitiveParameter, __construct); |
40 | | ZEND_METHOD(SensitiveParameterValue, __construct); |
41 | | ZEND_METHOD(SensitiveParameterValue, getValue); |
42 | | ZEND_METHOD(SensitiveParameterValue, __debugInfo); |
43 | | ZEND_METHOD(Override, __construct); |
44 | | ZEND_METHOD(Deprecated, __construct); |
45 | | ZEND_METHOD(NoDiscard, __construct); |
46 | | |
47 | | static const zend_function_entry class_Attribute_methods[] = { |
48 | | ZEND_ME(Attribute, __construct, arginfo_class_Attribute___construct, ZEND_ACC_PUBLIC) |
49 | | ZEND_FE_END |
50 | | }; |
51 | | |
52 | | static const zend_function_entry class_ReturnTypeWillChange_methods[] = { |
53 | | ZEND_ME(ReturnTypeWillChange, __construct, arginfo_class_ReturnTypeWillChange___construct, ZEND_ACC_PUBLIC) |
54 | | ZEND_FE_END |
55 | | }; |
56 | | |
57 | | static const zend_function_entry class_AllowDynamicProperties_methods[] = { |
58 | | ZEND_ME(AllowDynamicProperties, __construct, arginfo_class_AllowDynamicProperties___construct, ZEND_ACC_PUBLIC) |
59 | | ZEND_FE_END |
60 | | }; |
61 | | |
62 | | static const zend_function_entry class_SensitiveParameter_methods[] = { |
63 | | ZEND_ME(SensitiveParameter, __construct, arginfo_class_SensitiveParameter___construct, ZEND_ACC_PUBLIC) |
64 | | ZEND_FE_END |
65 | | }; |
66 | | |
67 | | static const zend_function_entry class_SensitiveParameterValue_methods[] = { |
68 | | ZEND_ME(SensitiveParameterValue, __construct, arginfo_class_SensitiveParameterValue___construct, ZEND_ACC_PUBLIC) |
69 | | ZEND_ME(SensitiveParameterValue, getValue, arginfo_class_SensitiveParameterValue_getValue, ZEND_ACC_PUBLIC) |
70 | | ZEND_ME(SensitiveParameterValue, __debugInfo, arginfo_class_SensitiveParameterValue___debugInfo, ZEND_ACC_PUBLIC) |
71 | | ZEND_FE_END |
72 | | }; |
73 | | |
74 | | static const zend_function_entry class_Override_methods[] = { |
75 | | ZEND_ME(Override, __construct, arginfo_class_Override___construct, ZEND_ACC_PUBLIC) |
76 | | ZEND_FE_END |
77 | | }; |
78 | | |
79 | | static const zend_function_entry class_Deprecated_methods[] = { |
80 | | ZEND_ME(Deprecated, __construct, arginfo_class_Deprecated___construct, ZEND_ACC_PUBLIC) |
81 | | ZEND_FE_END |
82 | | }; |
83 | | |
84 | | static const zend_function_entry class_NoDiscard_methods[] = { |
85 | | ZEND_ME(NoDiscard, __construct, arginfo_class_NoDiscard___construct, ZEND_ACC_PUBLIC) |
86 | | ZEND_FE_END |
87 | | }; |
88 | | |
89 | | static zend_class_entry *register_class_Attribute(void) |
90 | 16 | { |
91 | 16 | zend_class_entry ce, *class_entry; |
92 | | |
93 | 16 | INIT_CLASS_ENTRY(ce, "Attribute", class_Attribute_methods); |
94 | 16 | class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL); |
95 | | |
96 | 16 | zval const_TARGET_CLASS_value; |
97 | 16 | ZVAL_LONG(&const_TARGET_CLASS_value, ZEND_ATTRIBUTE_TARGET_CLASS); |
98 | 16 | zend_string *const_TARGET_CLASS_name = zend_string_init_interned("TARGET_CLASS", sizeof("TARGET_CLASS") - 1, 1); |
99 | 16 | 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)); |
100 | 16 | zend_string_release(const_TARGET_CLASS_name); |
101 | | |
102 | 16 | zval const_TARGET_FUNCTION_value; |
103 | 16 | ZVAL_LONG(&const_TARGET_FUNCTION_value, ZEND_ATTRIBUTE_TARGET_FUNCTION); |
104 | 16 | zend_string *const_TARGET_FUNCTION_name = zend_string_init_interned("TARGET_FUNCTION", sizeof("TARGET_FUNCTION") - 1, 1); |
105 | 16 | 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)); |
106 | 16 | zend_string_release(const_TARGET_FUNCTION_name); |
107 | | |
108 | 16 | zval const_TARGET_METHOD_value; |
109 | 16 | ZVAL_LONG(&const_TARGET_METHOD_value, ZEND_ATTRIBUTE_TARGET_METHOD); |
110 | 16 | zend_string *const_TARGET_METHOD_name = zend_string_init_interned("TARGET_METHOD", sizeof("TARGET_METHOD") - 1, 1); |
111 | 16 | 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)); |
112 | 16 | zend_string_release(const_TARGET_METHOD_name); |
113 | | |
114 | 16 | zval const_TARGET_PROPERTY_value; |
115 | 16 | ZVAL_LONG(&const_TARGET_PROPERTY_value, ZEND_ATTRIBUTE_TARGET_PROPERTY); |
116 | 16 | zend_string *const_TARGET_PROPERTY_name = zend_string_init_interned("TARGET_PROPERTY", sizeof("TARGET_PROPERTY") - 1, 1); |
117 | 16 | 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)); |
118 | 16 | zend_string_release(const_TARGET_PROPERTY_name); |
119 | | |
120 | 16 | zval const_TARGET_CLASS_CONSTANT_value; |
121 | 16 | ZVAL_LONG(&const_TARGET_CLASS_CONSTANT_value, ZEND_ATTRIBUTE_TARGET_CLASS_CONST); |
122 | 16 | zend_string *const_TARGET_CLASS_CONSTANT_name = zend_string_init_interned("TARGET_CLASS_CONSTANT", sizeof("TARGET_CLASS_CONSTANT") - 1, 1); |
123 | 16 | 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)); |
124 | 16 | zend_string_release(const_TARGET_CLASS_CONSTANT_name); |
125 | | |
126 | 16 | zval const_TARGET_PARAMETER_value; |
127 | 16 | ZVAL_LONG(&const_TARGET_PARAMETER_value, ZEND_ATTRIBUTE_TARGET_PARAMETER); |
128 | 16 | zend_string *const_TARGET_PARAMETER_name = zend_string_init_interned("TARGET_PARAMETER", sizeof("TARGET_PARAMETER") - 1, 1); |
129 | 16 | 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)); |
130 | 16 | zend_string_release(const_TARGET_PARAMETER_name); |
131 | | |
132 | 16 | zval const_TARGET_CONSTANT_value; |
133 | 16 | ZVAL_LONG(&const_TARGET_CONSTANT_value, ZEND_ATTRIBUTE_TARGET_CONST); |
134 | 16 | zend_string *const_TARGET_CONSTANT_name = zend_string_init_interned("TARGET_CONSTANT", sizeof("TARGET_CONSTANT") - 1, 1); |
135 | 16 | zend_declare_typed_class_constant(class_entry, const_TARGET_CONSTANT_name, &const_TARGET_CONSTANT_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG)); |
136 | 16 | zend_string_release(const_TARGET_CONSTANT_name); |
137 | | |
138 | 16 | zval const_TARGET_ALL_value; |
139 | 16 | ZVAL_LONG(&const_TARGET_ALL_value, ZEND_ATTRIBUTE_TARGET_ALL); |
140 | 16 | zend_string *const_TARGET_ALL_name = zend_string_init_interned("TARGET_ALL", sizeof("TARGET_ALL") - 1, 1); |
141 | 16 | 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)); |
142 | 16 | zend_string_release(const_TARGET_ALL_name); |
143 | | |
144 | 16 | zval const_IS_REPEATABLE_value; |
145 | 16 | ZVAL_LONG(&const_IS_REPEATABLE_value, ZEND_ATTRIBUTE_IS_REPEATABLE); |
146 | 16 | zend_string *const_IS_REPEATABLE_name = zend_string_init_interned("IS_REPEATABLE", sizeof("IS_REPEATABLE") - 1, 1); |
147 | 16 | 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)); |
148 | 16 | zend_string_release(const_IS_REPEATABLE_name); |
149 | | |
150 | 16 | zval property_flags_default_value; |
151 | 16 | ZVAL_UNDEF(&property_flags_default_value); |
152 | 16 | zend_string *property_flags_name = zend_string_init("flags", sizeof("flags") - 1, 1); |
153 | 16 | 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)); |
154 | 16 | zend_string_release(property_flags_name); |
155 | | |
156 | 16 | zend_string *attribute_name_Attribute_class_Attribute_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1); |
157 | 16 | zend_attribute *attribute_Attribute_class_Attribute_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_Attribute_0, 1); |
158 | 16 | zend_string_release(attribute_name_Attribute_class_Attribute_0); |
159 | 16 | zval attribute_Attribute_class_Attribute_0_arg0; |
160 | 16 | ZVAL_LONG(&attribute_Attribute_class_Attribute_0_arg0, ZEND_ATTRIBUTE_TARGET_CLASS); |
161 | 16 | ZVAL_COPY_VALUE(&attribute_Attribute_class_Attribute_0->args[0].value, &attribute_Attribute_class_Attribute_0_arg0); |
162 | | |
163 | 16 | return class_entry; |
164 | 16 | } |
165 | | |
166 | | static zend_class_entry *register_class_ReturnTypeWillChange(void) |
167 | 16 | { |
168 | 16 | zend_class_entry ce, *class_entry; |
169 | | |
170 | 16 | INIT_CLASS_ENTRY(ce, "ReturnTypeWillChange", class_ReturnTypeWillChange_methods); |
171 | 16 | class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL); |
172 | | |
173 | 16 | zend_string *attribute_name_Attribute_class_ReturnTypeWillChange_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1); |
174 | 16 | zend_attribute *attribute_Attribute_class_ReturnTypeWillChange_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_ReturnTypeWillChange_0, 1); |
175 | 16 | zend_string_release(attribute_name_Attribute_class_ReturnTypeWillChange_0); |
176 | 16 | zval attribute_Attribute_class_ReturnTypeWillChange_0_arg0; |
177 | 16 | ZVAL_LONG(&attribute_Attribute_class_ReturnTypeWillChange_0_arg0, ZEND_ATTRIBUTE_TARGET_METHOD); |
178 | 16 | ZVAL_COPY_VALUE(&attribute_Attribute_class_ReturnTypeWillChange_0->args[0].value, &attribute_Attribute_class_ReturnTypeWillChange_0_arg0); |
179 | | |
180 | 16 | return class_entry; |
181 | 16 | } |
182 | | |
183 | | static zend_class_entry *register_class_AllowDynamicProperties(void) |
184 | 16 | { |
185 | 16 | zend_class_entry ce, *class_entry; |
186 | | |
187 | 16 | INIT_CLASS_ENTRY(ce, "AllowDynamicProperties", class_AllowDynamicProperties_methods); |
188 | 16 | class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL); |
189 | | |
190 | 16 | zend_string *attribute_name_Attribute_class_AllowDynamicProperties_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1); |
191 | 16 | zend_attribute *attribute_Attribute_class_AllowDynamicProperties_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_AllowDynamicProperties_0, 1); |
192 | 16 | zend_string_release(attribute_name_Attribute_class_AllowDynamicProperties_0); |
193 | 16 | zval attribute_Attribute_class_AllowDynamicProperties_0_arg0; |
194 | 16 | ZVAL_LONG(&attribute_Attribute_class_AllowDynamicProperties_0_arg0, ZEND_ATTRIBUTE_TARGET_CLASS); |
195 | 16 | ZVAL_COPY_VALUE(&attribute_Attribute_class_AllowDynamicProperties_0->args[0].value, &attribute_Attribute_class_AllowDynamicProperties_0_arg0); |
196 | | |
197 | 16 | return class_entry; |
198 | 16 | } |
199 | | |
200 | | static zend_class_entry *register_class_SensitiveParameter(void) |
201 | 16 | { |
202 | 16 | zend_class_entry ce, *class_entry; |
203 | | |
204 | 16 | INIT_CLASS_ENTRY(ce, "SensitiveParameter", class_SensitiveParameter_methods); |
205 | 16 | class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES); |
206 | | |
207 | 16 | zend_string *attribute_name_Attribute_class_SensitiveParameter_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1); |
208 | 16 | zend_attribute *attribute_Attribute_class_SensitiveParameter_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_SensitiveParameter_0, 1); |
209 | 16 | zend_string_release(attribute_name_Attribute_class_SensitiveParameter_0); |
210 | 16 | zval attribute_Attribute_class_SensitiveParameter_0_arg0; |
211 | 16 | ZVAL_LONG(&attribute_Attribute_class_SensitiveParameter_0_arg0, ZEND_ATTRIBUTE_TARGET_PARAMETER); |
212 | 16 | ZVAL_COPY_VALUE(&attribute_Attribute_class_SensitiveParameter_0->args[0].value, &attribute_Attribute_class_SensitiveParameter_0_arg0); |
213 | | |
214 | 16 | return class_entry; |
215 | 16 | } |
216 | | |
217 | | static zend_class_entry *register_class_SensitiveParameterValue(void) |
218 | 16 | { |
219 | 16 | zend_class_entry ce, *class_entry; |
220 | | |
221 | 16 | INIT_CLASS_ENTRY(ce, "SensitiveParameterValue", class_SensitiveParameterValue_methods); |
222 | 16 | class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE); |
223 | | |
224 | 16 | zval property_value_default_value; |
225 | 16 | ZVAL_UNDEF(&property_value_default_value); |
226 | 16 | zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_VALUE), &property_value_default_value, ZEND_ACC_PRIVATE|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY)); |
227 | | |
228 | 16 | return class_entry; |
229 | 16 | } |
230 | | |
231 | | static zend_class_entry *register_class_Override(void) |
232 | 16 | { |
233 | 16 | zend_class_entry ce, *class_entry; |
234 | | |
235 | 16 | INIT_CLASS_ENTRY(ce, "Override", class_Override_methods); |
236 | 16 | class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES); |
237 | | |
238 | 16 | zend_string *attribute_name_Attribute_class_Override_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1); |
239 | 16 | zend_attribute *attribute_Attribute_class_Override_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_Override_0, 1); |
240 | 16 | zend_string_release(attribute_name_Attribute_class_Override_0); |
241 | 16 | zval attribute_Attribute_class_Override_0_arg0; |
242 | 16 | ZVAL_LONG(&attribute_Attribute_class_Override_0_arg0, ZEND_ATTRIBUTE_TARGET_METHOD); |
243 | 16 | ZVAL_COPY_VALUE(&attribute_Attribute_class_Override_0->args[0].value, &attribute_Attribute_class_Override_0_arg0); |
244 | | |
245 | 16 | return class_entry; |
246 | 16 | } |
247 | | |
248 | | static zend_class_entry *register_class_Deprecated(void) |
249 | 16 | { |
250 | 16 | zend_class_entry ce, *class_entry; |
251 | | |
252 | 16 | INIT_CLASS_ENTRY(ce, "Deprecated", class_Deprecated_methods); |
253 | 16 | class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES); |
254 | | |
255 | 16 | zval property_message_default_value; |
256 | 16 | ZVAL_UNDEF(&property_message_default_value); |
257 | 16 | zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_MESSAGE), &property_message_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL)); |
258 | | |
259 | 16 | zval property_since_default_value; |
260 | 16 | ZVAL_UNDEF(&property_since_default_value); |
261 | 16 | zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_SINCE), &property_since_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL)); |
262 | | |
263 | 16 | zend_string *attribute_name_Attribute_class_Deprecated_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1); |
264 | 16 | zend_attribute *attribute_Attribute_class_Deprecated_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_Deprecated_0, 1); |
265 | 16 | zend_string_release(attribute_name_Attribute_class_Deprecated_0); |
266 | 16 | zval attribute_Attribute_class_Deprecated_0_arg0; |
267 | 16 | ZVAL_LONG(&attribute_Attribute_class_Deprecated_0_arg0, ZEND_ATTRIBUTE_TARGET_METHOD | ZEND_ATTRIBUTE_TARGET_FUNCTION | ZEND_ATTRIBUTE_TARGET_CLASS_CONST | ZEND_ATTRIBUTE_TARGET_CONST); |
268 | 16 | ZVAL_COPY_VALUE(&attribute_Attribute_class_Deprecated_0->args[0].value, &attribute_Attribute_class_Deprecated_0_arg0); |
269 | | |
270 | 16 | return class_entry; |
271 | 16 | } |
272 | | |
273 | | static zend_class_entry *register_class_NoDiscard(void) |
274 | 16 | { |
275 | 16 | zend_class_entry ce, *class_entry; |
276 | | |
277 | 16 | INIT_CLASS_ENTRY(ce, "NoDiscard", class_NoDiscard_methods); |
278 | 16 | class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES); |
279 | | |
280 | 16 | zval property_message_default_value; |
281 | 16 | ZVAL_UNDEF(&property_message_default_value); |
282 | 16 | zend_declare_typed_property(class_entry, ZSTR_KNOWN(ZEND_STR_MESSAGE), &property_message_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL)); |
283 | | |
284 | 16 | zend_string *attribute_name_Attribute_class_NoDiscard_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1); |
285 | 16 | zend_attribute *attribute_Attribute_class_NoDiscard_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_NoDiscard_0, 1); |
286 | 16 | zend_string_release(attribute_name_Attribute_class_NoDiscard_0); |
287 | 16 | zval attribute_Attribute_class_NoDiscard_0_arg0; |
288 | 16 | ZVAL_LONG(&attribute_Attribute_class_NoDiscard_0_arg0, ZEND_ATTRIBUTE_TARGET_METHOD | ZEND_ATTRIBUTE_TARGET_FUNCTION); |
289 | 16 | ZVAL_COPY_VALUE(&attribute_Attribute_class_NoDiscard_0->args[0].value, &attribute_Attribute_class_NoDiscard_0_arg0); |
290 | | |
291 | 16 | return class_entry; |
292 | 16 | } |