xref: /PHP-8.2/Zend/zend_attributes_arginfo.h (revision ef4f0883)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: afb6a3f1d14099066d028b1579fff074359da293 */
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 
26 ZEND_METHOD(Attribute, __construct);
27 ZEND_METHOD(ReturnTypeWillChange, __construct);
28 ZEND_METHOD(AllowDynamicProperties, __construct);
29 ZEND_METHOD(SensitiveParameter, __construct);
30 ZEND_METHOD(SensitiveParameterValue, __construct);
31 ZEND_METHOD(SensitiveParameterValue, getValue);
32 ZEND_METHOD(SensitiveParameterValue, __debugInfo);
33 
34 
35 static const zend_function_entry class_Attribute_methods[] = {
36 	ZEND_ME(Attribute, __construct, arginfo_class_Attribute___construct, ZEND_ACC_PUBLIC)
37 	ZEND_FE_END
38 };
39 
40 
41 static const zend_function_entry class_ReturnTypeWillChange_methods[] = {
42 	ZEND_ME(ReturnTypeWillChange, __construct, arginfo_class_ReturnTypeWillChange___construct, ZEND_ACC_PUBLIC)
43 	ZEND_FE_END
44 };
45 
46 
47 static const zend_function_entry class_AllowDynamicProperties_methods[] = {
48 	ZEND_ME(AllowDynamicProperties, __construct, arginfo_class_AllowDynamicProperties___construct, ZEND_ACC_PUBLIC)
49 	ZEND_FE_END
50 };
51 
52 
53 static const zend_function_entry class_SensitiveParameter_methods[] = {
54 	ZEND_ME(SensitiveParameter, __construct, arginfo_class_SensitiveParameter___construct, ZEND_ACC_PUBLIC)
55 	ZEND_FE_END
56 };
57 
58 
59 static const zend_function_entry class_SensitiveParameterValue_methods[] = {
60 	ZEND_ME(SensitiveParameterValue, __construct, arginfo_class_SensitiveParameterValue___construct, ZEND_ACC_PUBLIC)
61 	ZEND_ME(SensitiveParameterValue, getValue, arginfo_class_SensitiveParameterValue_getValue, ZEND_ACC_PUBLIC)
62 	ZEND_ME(SensitiveParameterValue, __debugInfo, arginfo_class_SensitiveParameterValue___debugInfo, ZEND_ACC_PUBLIC)
63 	ZEND_FE_END
64 };
65 
register_class_Attribute(void)66 static zend_class_entry *register_class_Attribute(void)
67 {
68 	zend_class_entry ce, *class_entry;
69 
70 	INIT_CLASS_ENTRY(ce, "Attribute", class_Attribute_methods);
71 	class_entry = zend_register_internal_class_ex(&ce, NULL);
72 	class_entry->ce_flags |= ZEND_ACC_FINAL;
73 
74 	zval const_TARGET_CLASS_value;
75 	ZVAL_LONG(&const_TARGET_CLASS_value, ZEND_ATTRIBUTE_TARGET_CLASS);
76 	zend_string *const_TARGET_CLASS_name = zend_string_init_interned("TARGET_CLASS", sizeof("TARGET_CLASS") - 1, 1);
77 	zend_declare_class_constant_ex(class_entry, const_TARGET_CLASS_name, &const_TARGET_CLASS_value, ZEND_ACC_PUBLIC, NULL);
78 	zend_string_release(const_TARGET_CLASS_name);
79 
80 	zval const_TARGET_FUNCTION_value;
81 	ZVAL_LONG(&const_TARGET_FUNCTION_value, ZEND_ATTRIBUTE_TARGET_FUNCTION);
82 	zend_string *const_TARGET_FUNCTION_name = zend_string_init_interned("TARGET_FUNCTION", sizeof("TARGET_FUNCTION") - 1, 1);
83 	zend_declare_class_constant_ex(class_entry, const_TARGET_FUNCTION_name, &const_TARGET_FUNCTION_value, ZEND_ACC_PUBLIC, NULL);
84 	zend_string_release(const_TARGET_FUNCTION_name);
85 
86 	zval const_TARGET_METHOD_value;
87 	ZVAL_LONG(&const_TARGET_METHOD_value, ZEND_ATTRIBUTE_TARGET_METHOD);
88 	zend_string *const_TARGET_METHOD_name = zend_string_init_interned("TARGET_METHOD", sizeof("TARGET_METHOD") - 1, 1);
89 	zend_declare_class_constant_ex(class_entry, const_TARGET_METHOD_name, &const_TARGET_METHOD_value, ZEND_ACC_PUBLIC, NULL);
90 	zend_string_release(const_TARGET_METHOD_name);
91 
92 	zval const_TARGET_PROPERTY_value;
93 	ZVAL_LONG(&const_TARGET_PROPERTY_value, ZEND_ATTRIBUTE_TARGET_PROPERTY);
94 	zend_string *const_TARGET_PROPERTY_name = zend_string_init_interned("TARGET_PROPERTY", sizeof("TARGET_PROPERTY") - 1, 1);
95 	zend_declare_class_constant_ex(class_entry, const_TARGET_PROPERTY_name, &const_TARGET_PROPERTY_value, ZEND_ACC_PUBLIC, NULL);
96 	zend_string_release(const_TARGET_PROPERTY_name);
97 
98 	zval const_TARGET_CLASS_CONSTANT_value;
99 	ZVAL_LONG(&const_TARGET_CLASS_CONSTANT_value, ZEND_ATTRIBUTE_TARGET_CLASS_CONST);
100 	zend_string *const_TARGET_CLASS_CONSTANT_name = zend_string_init_interned("TARGET_CLASS_CONSTANT", sizeof("TARGET_CLASS_CONSTANT") - 1, 1);
101 	zend_declare_class_constant_ex(class_entry, const_TARGET_CLASS_CONSTANT_name, &const_TARGET_CLASS_CONSTANT_value, ZEND_ACC_PUBLIC, NULL);
102 	zend_string_release(const_TARGET_CLASS_CONSTANT_name);
103 
104 	zval const_TARGET_PARAMETER_value;
105 	ZVAL_LONG(&const_TARGET_PARAMETER_value, ZEND_ATTRIBUTE_TARGET_PARAMETER);
106 	zend_string *const_TARGET_PARAMETER_name = zend_string_init_interned("TARGET_PARAMETER", sizeof("TARGET_PARAMETER") - 1, 1);
107 	zend_declare_class_constant_ex(class_entry, const_TARGET_PARAMETER_name, &const_TARGET_PARAMETER_value, ZEND_ACC_PUBLIC, NULL);
108 	zend_string_release(const_TARGET_PARAMETER_name);
109 
110 	zval const_TARGET_ALL_value;
111 	ZVAL_LONG(&const_TARGET_ALL_value, ZEND_ATTRIBUTE_TARGET_ALL);
112 	zend_string *const_TARGET_ALL_name = zend_string_init_interned("TARGET_ALL", sizeof("TARGET_ALL") - 1, 1);
113 	zend_declare_class_constant_ex(class_entry, const_TARGET_ALL_name, &const_TARGET_ALL_value, ZEND_ACC_PUBLIC, NULL);
114 	zend_string_release(const_TARGET_ALL_name);
115 
116 	zval const_IS_REPEATABLE_value;
117 	ZVAL_LONG(&const_IS_REPEATABLE_value, ZEND_ATTRIBUTE_IS_REPEATABLE);
118 	zend_string *const_IS_REPEATABLE_name = zend_string_init_interned("IS_REPEATABLE", sizeof("IS_REPEATABLE") - 1, 1);
119 	zend_declare_class_constant_ex(class_entry, const_IS_REPEATABLE_name, &const_IS_REPEATABLE_value, ZEND_ACC_PUBLIC, NULL);
120 	zend_string_release(const_IS_REPEATABLE_name);
121 
122 	zval property_flags_default_value;
123 	ZVAL_UNDEF(&property_flags_default_value);
124 	zend_string *property_flags_name = zend_string_init("flags", sizeof("flags") - 1, 1);
125 	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));
126 	zend_string_release(property_flags_name);
127 
128 	zend_string *attribute_name_Attribute_class_Attribute = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1);
129 	zend_attribute *attribute_Attribute_class_Attribute = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_Attribute, 1);
130 	zend_string_release(attribute_name_Attribute_class_Attribute);
131 	zval attribute_Attribute_class_Attribute_arg0;
132 	ZVAL_LONG(&attribute_Attribute_class_Attribute_arg0, ZEND_ATTRIBUTE_TARGET_CLASS);
133 	ZVAL_COPY_VALUE(&attribute_Attribute_class_Attribute->args[0].value, &attribute_Attribute_class_Attribute_arg0);
134 
135 	return class_entry;
136 }
137 
register_class_ReturnTypeWillChange(void)138 static zend_class_entry *register_class_ReturnTypeWillChange(void)
139 {
140 	zend_class_entry ce, *class_entry;
141 
142 	INIT_CLASS_ENTRY(ce, "ReturnTypeWillChange", class_ReturnTypeWillChange_methods);
143 	class_entry = zend_register_internal_class_ex(&ce, NULL);
144 	class_entry->ce_flags |= ZEND_ACC_FINAL;
145 
146 	zend_string *attribute_name_Attribute_class_ReturnTypeWillChange = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1);
147 	zend_attribute *attribute_Attribute_class_ReturnTypeWillChange = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_ReturnTypeWillChange, 1);
148 	zend_string_release(attribute_name_Attribute_class_ReturnTypeWillChange);
149 	zval attribute_Attribute_class_ReturnTypeWillChange_arg0;
150 	ZVAL_LONG(&attribute_Attribute_class_ReturnTypeWillChange_arg0, ZEND_ATTRIBUTE_TARGET_METHOD);
151 	ZVAL_COPY_VALUE(&attribute_Attribute_class_ReturnTypeWillChange->args[0].value, &attribute_Attribute_class_ReturnTypeWillChange_arg0);
152 
153 	return class_entry;
154 }
155 
register_class_AllowDynamicProperties(void)156 static zend_class_entry *register_class_AllowDynamicProperties(void)
157 {
158 	zend_class_entry ce, *class_entry;
159 
160 	INIT_CLASS_ENTRY(ce, "AllowDynamicProperties", class_AllowDynamicProperties_methods);
161 	class_entry = zend_register_internal_class_ex(&ce, NULL);
162 	class_entry->ce_flags |= ZEND_ACC_FINAL;
163 
164 	zend_string *attribute_name_Attribute_class_AllowDynamicProperties = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1);
165 	zend_attribute *attribute_Attribute_class_AllowDynamicProperties = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_AllowDynamicProperties, 1);
166 	zend_string_release(attribute_name_Attribute_class_AllowDynamicProperties);
167 	zval attribute_Attribute_class_AllowDynamicProperties_arg0;
168 	ZVAL_LONG(&attribute_Attribute_class_AllowDynamicProperties_arg0, ZEND_ATTRIBUTE_TARGET_CLASS);
169 	ZVAL_COPY_VALUE(&attribute_Attribute_class_AllowDynamicProperties->args[0].value, &attribute_Attribute_class_AllowDynamicProperties_arg0);
170 
171 	return class_entry;
172 }
173 
register_class_SensitiveParameter(void)174 static zend_class_entry *register_class_SensitiveParameter(void)
175 {
176 	zend_class_entry ce, *class_entry;
177 
178 	INIT_CLASS_ENTRY(ce, "SensitiveParameter", class_SensitiveParameter_methods);
179 	class_entry = zend_register_internal_class_ex(&ce, NULL);
180 	class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES;
181 
182 	zend_string *attribute_name_Attribute_class_SensitiveParameter = zend_string_init_interned("Attribute", sizeof("Attribute") - 1, 1);
183 	zend_attribute *attribute_Attribute_class_SensitiveParameter = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_SensitiveParameter, 1);
184 	zend_string_release(attribute_name_Attribute_class_SensitiveParameter);
185 	zval attribute_Attribute_class_SensitiveParameter_arg0;
186 	ZVAL_LONG(&attribute_Attribute_class_SensitiveParameter_arg0, ZEND_ATTRIBUTE_TARGET_PARAMETER);
187 	ZVAL_COPY_VALUE(&attribute_Attribute_class_SensitiveParameter->args[0].value, &attribute_Attribute_class_SensitiveParameter_arg0);
188 
189 	return class_entry;
190 }
191 
register_class_SensitiveParameterValue(void)192 static zend_class_entry *register_class_SensitiveParameterValue(void)
193 {
194 	zend_class_entry ce, *class_entry;
195 
196 	INIT_CLASS_ENTRY(ce, "SensitiveParameterValue", class_SensitiveParameterValue_methods);
197 	class_entry = zend_register_internal_class_ex(&ce, NULL);
198 	class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE;
199 
200 	zval property_value_default_value;
201 	ZVAL_UNDEF(&property_value_default_value);
202 	zend_string *property_value_name = zend_string_init("value", sizeof("value") - 1, 1);
203 	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));
204 	zend_string_release(property_value_name);
205 
206 	return class_entry;
207 }
208