1
1
/* This is a generated file, edit the .stub.php file instead.
2
- * Stub hash: 7326163f8ce5340c12e74af72d47a8926eb39786 */
2
+ * Stub hash: 068310d46bc9f5454a2f47e6a7ff52c9ea3f0b22 */
3
3
4
4
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_zend_test_array_return , 0 , 0 , IS_ARRAY , 0 )
5
5
ZEND_END_ARG_INFO ()
@@ -71,6 +71,10 @@ ZEND_END_ARG_INFO()
71
71
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX (arginfo_zend_get_unit_enum , 0 , 0 , ZendTestUnitEnum , 0 )
72
72
ZEND_END_ARG_INFO ()
73
73
74
+ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_zend_test_parameter_with_attribute , 0 , 1 , IS_LONG , 0 )
75
+ ZEND_ARG_TYPE_INFO (0 , parameter , IS_STRING , 0 )
76
+ ZEND_END_ARG_INFO ()
77
+
74
78
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_ZendTestNS2_ZendSubNS_namespaced_func , 0 , 0 , _IS_BOOL , 0 )
75
79
ZEND_END_ARG_INFO ()
76
80
@@ -91,6 +95,12 @@ ZEND_END_ARG_INFO()
91
95
92
96
#define arginfo_class__ZendTestTrait_testMethod arginfo_ZendTestNS2_ZendSubNS_namespaced_func
93
97
98
+ #define arginfo_class_ZendTestClassWithMethodWithParameterAttribute_no_override arginfo_zend_test_parameter_with_attribute
99
+
100
+ #define arginfo_class_ZendTestClassWithMethodWithParameterAttribute_override arginfo_zend_test_parameter_with_attribute
101
+
102
+ #define arginfo_class_ZendTestChildClassWithMethodWithParameterAttribute_override arginfo_zend_test_parameter_with_attribute
103
+
94
104
#define arginfo_class_ZendTestNS_Foo_method arginfo_zend_test_void_return
95
105
96
106
#define arginfo_class_ZendTestNS2_Foo_method arginfo_zend_test_void_return
@@ -116,13 +126,17 @@ static ZEND_FUNCTION(zend_weakmap_attach);
116
126
static ZEND_FUNCTION (zend_weakmap_remove );
117
127
static ZEND_FUNCTION (zend_weakmap_dump );
118
128
static ZEND_FUNCTION (zend_get_unit_enum );
129
+ static ZEND_FUNCTION (zend_test_parameter_with_attribute );
119
130
static ZEND_FUNCTION (namespaced_func );
120
131
static ZEND_METHOD (_ZendTestClass , is_object ) ;
121
132
static ZEND_METHOD (_ZendTestClass , __toString ) ;
122
133
static ZEND_METHOD (_ZendTestClass , returnsStatic ) ;
123
134
static ZEND_METHOD (_ZendTestClass , returnsThrowable ) ;
124
135
static ZEND_METHOD (_ZendTestChildClass , returnsThrowable ) ;
125
136
static ZEND_METHOD (_ZendTestTrait , testMethod ) ;
137
+ static ZEND_METHOD (ZendTestClassWithMethodWithParameterAttribute , no_override ) ;
138
+ static ZEND_METHOD (ZendTestClassWithMethodWithParameterAttribute , override ) ;
139
+ static ZEND_METHOD (ZendTestChildClassWithMethodWithParameterAttribute , override ) ;
126
140
static ZEND_METHOD (ZendTestNS_Foo , method ) ;
127
141
static ZEND_METHOD (ZendTestNS2_Foo , method ) ;
128
142
static ZEND_METHOD (ZendTestNS2_ZendSubNS_Foo , method ) ;
@@ -147,6 +161,7 @@ static const zend_function_entry ext_functions[] = {
147
161
ZEND_FE (zend_weakmap_remove , arginfo_zend_weakmap_remove )
148
162
ZEND_FE (zend_weakmap_dump , arginfo_zend_weakmap_dump )
149
163
ZEND_FE (zend_get_unit_enum , arginfo_zend_get_unit_enum )
164
+ ZEND_FE (zend_test_parameter_with_attribute , arginfo_zend_test_parameter_with_attribute )
150
165
ZEND_NS_FE ("ZendTestNS2\\ZendSubNS" , namespaced_func , arginfo_ZendTestNS2_ZendSubNS_namespaced_func )
151
166
ZEND_FE_END
152
167
};
@@ -183,6 +198,24 @@ static const zend_function_entry class_ZendTestAttribute_methods[] = {
183
198
};
184
199
185
200
201
+ static const zend_function_entry class_ZendTestParameterAttribute_methods [] = {
202
+ ZEND_FE_END
203
+ };
204
+
205
+
206
+ static const zend_function_entry class_ZendTestClassWithMethodWithParameterAttribute_methods [] = {
207
+ ZEND_ME (ZendTestClassWithMethodWithParameterAttribute , no_override , arginfo_class_ZendTestClassWithMethodWithParameterAttribute_no_override , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
208
+ ZEND_ME (ZendTestClassWithMethodWithParameterAttribute , override , arginfo_class_ZendTestClassWithMethodWithParameterAttribute_override , ZEND_ACC_PUBLIC )
209
+ ZEND_FE_END
210
+ };
211
+
212
+
213
+ static const zend_function_entry class_ZendTestChildClassWithMethodWithParameterAttribute_methods [] = {
214
+ ZEND_ME (ZendTestChildClassWithMethodWithParameterAttribute , override , arginfo_class_ZendTestChildClassWithMethodWithParameterAttribute_override , ZEND_ACC_PUBLIC )
215
+ ZEND_FE_END
216
+ };
217
+
218
+
186
219
static const zend_function_entry class_ZendTestUnitEnum_methods [] = {
187
220
ZEND_FE_END
188
221
};
@@ -314,6 +347,37 @@ static zend_class_entry *register_class_ZendTestAttribute(void)
314
347
return class_entry ;
315
348
}
316
349
350
+ static zend_class_entry * register_class_ZendTestParameterAttribute (void )
351
+ {
352
+ zend_class_entry ce , * class_entry ;
353
+
354
+ INIT_CLASS_ENTRY (ce , "ZendTestParameterAttribute" , class_ZendTestParameterAttribute_methods );
355
+ class_entry = zend_register_internal_class_ex (& ce , NULL );
356
+ class_entry -> ce_flags |= ZEND_ACC_FINAL ;
357
+
358
+ return class_entry ;
359
+ }
360
+
361
+ static zend_class_entry * register_class_ZendTestClassWithMethodWithParameterAttribute (void )
362
+ {
363
+ zend_class_entry ce , * class_entry ;
364
+
365
+ INIT_CLASS_ENTRY (ce , "ZendTestClassWithMethodWithParameterAttribute" , class_ZendTestClassWithMethodWithParameterAttribute_methods );
366
+ class_entry = zend_register_internal_class_ex (& ce , NULL );
367
+
368
+ return class_entry ;
369
+ }
370
+
371
+ static zend_class_entry * register_class_ZendTestChildClassWithMethodWithParameterAttribute (zend_class_entry * class_entry_ZendTestClassWithMethodWithParameterAttribute )
372
+ {
373
+ zend_class_entry ce , * class_entry ;
374
+
375
+ INIT_CLASS_ENTRY (ce , "ZendTestChildClassWithMethodWithParameterAttribute" , class_ZendTestChildClassWithMethodWithParameterAttribute_methods );
376
+ class_entry = zend_register_internal_class_ex (& ce , class_entry_ZendTestClassWithMethodWithParameterAttribute );
377
+
378
+ return class_entry ;
379
+ }
380
+
317
381
static zend_class_entry * register_class_ZendTestUnitEnum (void )
318
382
{
319
383
zend_class_entry * class_entry = zend_register_internal_enum ("ZendTestUnitEnum" , IS_UNDEF , class_ZendTestUnitEnum_methods );
0 commit comments