Coverage Report

Created: 2026-09-14 06:25

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