xref: /php-src/Zend/zend_attributes_arginfo.h (revision 7a8b1f68)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 2358a0d820edd06a1702c84104bfd545af08311c */
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_METHOD(Attribute, __construct);
33 ZEND_METHOD(ReturnTypeWillChange, __construct);
34 ZEND_METHOD(AllowDynamicProperties, __construct);
35 ZEND_METHOD(SensitiveParameter, __construct);
36 ZEND_METHOD(SensitiveParameterValue, __construct);
37 ZEND_METHOD(SensitiveParameterValue, getValue);
38 ZEND_METHOD(SensitiveParameterValue, __debugInfo);
39 ZEND_METHOD(Override, __construct);
40 ZEND_METHOD(Deprecated, __construct);
41 
42 static const zend_function_entry class_Attribute_methods[] = {
43 	ZEND_ME(Attribute, __construct, arginfo_class_Attribute___construct, ZEND_ACC_PUBLIC)
44 	ZEND_FE_END
45 };
46 
47 static const zend_function_entry class_ReturnTypeWillChange_methods[] = {
48 	ZEND_ME(ReturnTypeWillChange, __construct, arginfo_class_ReturnTypeWillChange___construct, ZEND_ACC_PUBLIC)
49 	ZEND_FE_END
50 };
51 
52 static const zend_function_entry class_AllowDynamicProperties_methods[] = {
53 	ZEND_ME(AllowDynamicProperties, __construct, arginfo_class_AllowDynamicProperties___construct, ZEND_ACC_PUBLIC)
54 	ZEND_FE_END
55 };
56 
57 static const zend_function_entry class_SensitiveParameter_methods[] = {
58 	ZEND_ME(SensitiveParameter, __construct, arginfo_class_SensitiveParameter___construct, ZEND_ACC_PUBLIC)
59 	ZEND_FE_END
60 };
61 
62 static 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)
66 	ZEND_FE_END
67 };
68 
69 static const zend_function_entry class_Override_methods[] = {
70 	ZEND_ME(Override, __construct, arginfo_class_Override___construct, ZEND_ACC_PUBLIC)
71 	ZEND_FE_END
72 };
73 
74 static const zend_function_entry class_Deprecated_methods[] = {
75 	ZEND_ME(Deprecated, __construct, arginfo_class_Deprecated___construct, ZEND_ACC_PUBLIC)
76 	ZEND_FE_END
77 };
78 
register_class_Attribute(void)79 static 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);
84 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL);
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 
register_class_ReturnTypeWillChange(void)150 static 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);
155 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL);
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 
register_class_AllowDynamicProperties(void)167 static 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);
172 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL);
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 
register_class_SensitiveParameter(void)184 static 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);
189 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES);
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 
register_class_SensitiveParameterValue(void)201 static 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);
206 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE);
207 
208 	zval property_value_default_value;
209 	ZVAL_UNDEF(&property_value_default_value);
210 	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));
211 
212 	return class_entry;
213 }
214 
register_class_Override(void)215 static zend_class_entry *register_class_Override(void)
216 {
217 	zend_class_entry ce, *class_entry;
218 
219 	INIT_CLASS_ENTRY(ce, "Override", class_Override_methods);
220 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES);
221 
222 	zend_string *attribute_name_Attribute_class_Override_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1);
223 	zend_attribute *attribute_Attribute_class_Override_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_Override_0, 1);
224 	zend_string_release(attribute_name_Attribute_class_Override_0);
225 	zval attribute_Attribute_class_Override_0_arg0;
226 	ZVAL_LONG(&attribute_Attribute_class_Override_0_arg0, ZEND_ATTRIBUTE_TARGET_METHOD);
227 	ZVAL_COPY_VALUE(&attribute_Attribute_class_Override_0->args[0].value, &attribute_Attribute_class_Override_0_arg0);
228 
229 	return class_entry;
230 }
231 
register_class_Deprecated(void)232 static zend_class_entry *register_class_Deprecated(void)
233 {
234 	zend_class_entry ce, *class_entry;
235 
236 	INIT_CLASS_ENTRY(ce, "Deprecated", class_Deprecated_methods);
237 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES);
238 
239 	zval property_message_default_value;
240 	ZVAL_UNDEF(&property_message_default_value);
241 	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));
242 
243 	zval property_since_default_value;
244 	ZVAL_UNDEF(&property_since_default_value);
245 	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));
246 
247 	zend_string *attribute_name_Attribute_class_Deprecated_0 = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1);
248 	zend_attribute *attribute_Attribute_class_Deprecated_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_Deprecated_0, 1);
249 	zend_string_release(attribute_name_Attribute_class_Deprecated_0);
250 	zval attribute_Attribute_class_Deprecated_0_arg0;
251 	ZVAL_LONG(&attribute_Attribute_class_Deprecated_0_arg0, ZEND_ATTRIBUTE_TARGET_METHOD | ZEND_ATTRIBUTE_TARGET_FUNCTION | ZEND_ATTRIBUTE_TARGET_CLASS_CONST);
252 	ZVAL_COPY_VALUE(&attribute_Attribute_class_Deprecated_0->args[0].value, &attribute_Attribute_class_Deprecated_0_arg0);
253 
254 	return class_entry;
255 }
256