1
1
/* This is a generated file, edit the .stub.php file instead.
2
- * Stub hash: 0af85c5349efaff6f19e003712d9ba929adc9ce1 */
2
+ * Stub hash: 57eb52664b0a7b3dd2a38294e9a936d248274a14 */
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 ()
@@ -65,6 +65,10 @@ ZEND_END_ARG_INFO()
65
65
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX (arginfo_zend_get_unit_enum , 0 , 0 , ZendTestUnitEnum , 0 )
66
66
ZEND_END_ARG_INFO ()
67
67
68
+ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_zend_test_parameter_with_attribute , 0 , 1 , IS_LONG , 0 )
69
+ ZEND_ARG_TYPE_INFO (0 , parameter , IS_STRING , 0 )
70
+ ZEND_END_ARG_INFO ()
71
+
68
72
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_ZendTestNS2_ZendSubNS_namespaced_func , 0 , 0 , _IS_BOOL , 0 )
69
73
ZEND_END_ARG_INFO ()
70
74
@@ -85,6 +89,16 @@ ZEND_END_ARG_INFO()
85
89
86
90
#define arginfo_class__ZendTestTrait_testMethod arginfo_ZendTestNS2_ZendSubNS_namespaced_func
87
91
92
+ ZEND_BEGIN_ARG_INFO_EX (arginfo_class_ZendTestParameterAttribute___construct , 0 , 0 , 1 )
93
+ ZEND_ARG_TYPE_INFO (0 , parameter , IS_STRING , 0 )
94
+ ZEND_END_ARG_INFO ()
95
+
96
+ #define arginfo_class_ZendTestClassWithMethodWithParameterAttribute_no_override arginfo_zend_test_parameter_with_attribute
97
+
98
+ #define arginfo_class_ZendTestClassWithMethodWithParameterAttribute_override arginfo_zend_test_parameter_with_attribute
99
+
100
+ #define arginfo_class_ZendTestChildClassWithMethodWithParameterAttribute_override arginfo_zend_test_parameter_with_attribute
101
+
88
102
#define arginfo_class_ZendTestNS_Foo_method arginfo_zend_test_void_return
89
103
90
104
#define arginfo_class_ZendTestNS2_Foo_method arginfo_zend_test_void_return
@@ -109,13 +123,18 @@ static ZEND_FUNCTION(zend_weakmap_attach);
109
123
static ZEND_FUNCTION (zend_weakmap_remove );
110
124
static ZEND_FUNCTION (zend_weakmap_dump );
111
125
static ZEND_FUNCTION (zend_get_unit_enum );
126
+ static ZEND_FUNCTION (zend_test_parameter_with_attribute );
112
127
static ZEND_FUNCTION (namespaced_func );
113
128
static ZEND_METHOD (_ZendTestClass , is_object ) ;
114
129
static ZEND_METHOD (_ZendTestClass , __toString ) ;
115
130
static ZEND_METHOD (_ZendTestClass , returnsStatic ) ;
116
131
static ZEND_METHOD (_ZendTestClass , returnsThrowable ) ;
117
132
static ZEND_METHOD (_ZendTestChildClass , returnsThrowable ) ;
118
133
static ZEND_METHOD (_ZendTestTrait , testMethod ) ;
134
+ static ZEND_METHOD (ZendTestParameterAttribute , __construct ) ;
135
+ static ZEND_METHOD (ZendTestClassWithMethodWithParameterAttribute , no_override ) ;
136
+ static ZEND_METHOD (ZendTestClassWithMethodWithParameterAttribute , override ) ;
137
+ static ZEND_METHOD (ZendTestChildClassWithMethodWithParameterAttribute , override ) ;
119
138
static ZEND_METHOD (ZendTestNS_Foo , method ) ;
120
139
static ZEND_METHOD (ZendTestNS2_Foo , method ) ;
121
140
static ZEND_METHOD (ZendTestNS2_ZendSubNS_Foo , method ) ;
@@ -139,6 +158,7 @@ static const zend_function_entry ext_functions[] = {
139
158
ZEND_FE (zend_weakmap_remove , arginfo_zend_weakmap_remove )
140
159
ZEND_FE (zend_weakmap_dump , arginfo_zend_weakmap_dump )
141
160
ZEND_FE (zend_get_unit_enum , arginfo_zend_get_unit_enum )
161
+ ZEND_FE (zend_test_parameter_with_attribute , arginfo_zend_test_parameter_with_attribute )
142
162
ZEND_NS_FE ("ZendTestNS2\\ZendSubNS" , namespaced_func , arginfo_ZendTestNS2_ZendSubNS_namespaced_func )
143
163
ZEND_FE_END
144
164
};
@@ -175,6 +195,25 @@ static const zend_function_entry class_ZendTestAttribute_methods[] = {
175
195
};
176
196
177
197
198
+ static const zend_function_entry class_ZendTestParameterAttribute_methods [] = {
199
+ ZEND_ME (ZendTestParameterAttribute , __construct , arginfo_class_ZendTestParameterAttribute___construct , ZEND_ACC_PUBLIC )
200
+ ZEND_FE_END
201
+ };
202
+
203
+
204
+ static const zend_function_entry class_ZendTestClassWithMethodWithParameterAttribute_methods [] = {
205
+ ZEND_ME (ZendTestClassWithMethodWithParameterAttribute , no_override , arginfo_class_ZendTestClassWithMethodWithParameterAttribute_no_override , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
206
+ ZEND_ME (ZendTestClassWithMethodWithParameterAttribute , override , arginfo_class_ZendTestClassWithMethodWithParameterAttribute_override , ZEND_ACC_PUBLIC )
207
+ ZEND_FE_END
208
+ };
209
+
210
+
211
+ static const zend_function_entry class_ZendTestChildClassWithMethodWithParameterAttribute_methods [] = {
212
+ ZEND_ME (ZendTestChildClassWithMethodWithParameterAttribute , override , arginfo_class_ZendTestChildClassWithMethodWithParameterAttribute_override , ZEND_ACC_PUBLIC )
213
+ ZEND_FE_END
214
+ };
215
+
216
+
178
217
static const zend_function_entry class_ZendTestUnitEnum_methods [] = {
179
218
ZEND_FE_END
180
219
};
@@ -306,6 +345,43 @@ static zend_class_entry *register_class_ZendTestAttribute(void)
306
345
return class_entry ;
307
346
}
308
347
348
+ static zend_class_entry * register_class_ZendTestParameterAttribute (void )
349
+ {
350
+ zend_class_entry ce , * class_entry ;
351
+
352
+ INIT_CLASS_ENTRY (ce , "ZendTestParameterAttribute" , class_ZendTestParameterAttribute_methods );
353
+ class_entry = zend_register_internal_class_ex (& ce , NULL );
354
+ class_entry -> ce_flags |= ZEND_ACC_FINAL ;
355
+
356
+ zval property_parameter_default_value ;
357
+ ZVAL_UNDEF (& property_parameter_default_value );
358
+ zend_string * property_parameter_name = zend_string_init ("parameter" , sizeof ("parameter" ) - 1 , 1 );
359
+ zend_declare_typed_property (class_entry , property_parameter_name , & property_parameter_default_value , ZEND_ACC_PUBLIC , NULL , (zend_type ) ZEND_TYPE_INIT_MASK (MAY_BE_STRING ));
360
+ zend_string_release (property_parameter_name );
361
+
362
+ return class_entry ;
363
+ }
364
+
365
+ static zend_class_entry * register_class_ZendTestClassWithMethodWithParameterAttribute (void )
366
+ {
367
+ zend_class_entry ce , * class_entry ;
368
+
369
+ INIT_CLASS_ENTRY (ce , "ZendTestClassWithMethodWithParameterAttribute" , class_ZendTestClassWithMethodWithParameterAttribute_methods );
370
+ class_entry = zend_register_internal_class_ex (& ce , NULL );
371
+
372
+ return class_entry ;
373
+ }
374
+
375
+ static zend_class_entry * register_class_ZendTestChildClassWithMethodWithParameterAttribute (zend_class_entry * class_entry_ZendTestClassWithMethodWithParameterAttribute )
376
+ {
377
+ zend_class_entry ce , * class_entry ;
378
+
379
+ INIT_CLASS_ENTRY (ce , "ZendTestChildClassWithMethodWithParameterAttribute" , class_ZendTestChildClassWithMethodWithParameterAttribute_methods );
380
+ class_entry = zend_register_internal_class_ex (& ce , class_entry_ZendTestClassWithMethodWithParameterAttribute );
381
+
382
+ return class_entry ;
383
+ }
384
+
309
385
static zend_class_entry * register_class_ZendTestUnitEnum (void )
310
386
{
311
387
zend_class_entry * class_entry = zend_register_internal_enum ("ZendTestUnitEnum" , IS_UNDEF , class_ZendTestUnitEnum_methods );
0 commit comments