1
1
/* This is a generated file, edit the .stub.php file instead.
2
- * Stub hash: 7326163f8ce5340c12e74af72d47a8926eb39786 */
2
+ * Stub hash: af5d698b35753ac9f852688644d6844ba0914b2b */
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,16 @@ ZEND_END_ARG_INFO()
91
95
92
96
#define arginfo_class__ZendTestTrait_testMethod arginfo_ZendTestNS2_ZendSubNS_namespaced_func
93
97
98
+ ZEND_BEGIN_ARG_INFO_EX (arginfo_class_ZendTestParameterAttribute___construct , 0 , 0 , 1 )
99
+ ZEND_ARG_TYPE_INFO (0 , parameter , IS_STRING , 0 )
100
+ ZEND_END_ARG_INFO ()
101
+
102
+ #define arginfo_class_ZendTestClassWithMethodWithParameterAttribute_no_override arginfo_zend_test_parameter_with_attribute
103
+
104
+ #define arginfo_class_ZendTestClassWithMethodWithParameterAttribute_override arginfo_zend_test_parameter_with_attribute
105
+
106
+ #define arginfo_class_ZendTestChildClassWithMethodWithParameterAttribute_override arginfo_zend_test_parameter_with_attribute
107
+
94
108
#define arginfo_class_ZendTestNS_Foo_method arginfo_zend_test_void_return
95
109
96
110
#define arginfo_class_ZendTestNS2_Foo_method arginfo_zend_test_void_return
@@ -116,13 +130,18 @@ static ZEND_FUNCTION(zend_weakmap_attach);
116
130
static ZEND_FUNCTION (zend_weakmap_remove );
117
131
static ZEND_FUNCTION (zend_weakmap_dump );
118
132
static ZEND_FUNCTION (zend_get_unit_enum );
133
+ static ZEND_FUNCTION (zend_test_parameter_with_attribute );
119
134
static ZEND_FUNCTION (namespaced_func );
120
135
static ZEND_METHOD (_ZendTestClass , is_object ) ;
121
136
static ZEND_METHOD (_ZendTestClass , __toString ) ;
122
137
static ZEND_METHOD (_ZendTestClass , returnsStatic ) ;
123
138
static ZEND_METHOD (_ZendTestClass , returnsThrowable ) ;
124
139
static ZEND_METHOD (_ZendTestChildClass , returnsThrowable ) ;
125
140
static ZEND_METHOD (_ZendTestTrait , testMethod ) ;
141
+ static ZEND_METHOD (ZendTestParameterAttribute , __construct ) ;
142
+ static ZEND_METHOD (ZendTestClassWithMethodWithParameterAttribute , no_override ) ;
143
+ static ZEND_METHOD (ZendTestClassWithMethodWithParameterAttribute , override ) ;
144
+ static ZEND_METHOD (ZendTestChildClassWithMethodWithParameterAttribute , override ) ;
126
145
static ZEND_METHOD (ZendTestNS_Foo , method ) ;
127
146
static ZEND_METHOD (ZendTestNS2_Foo , method ) ;
128
147
static ZEND_METHOD (ZendTestNS2_ZendSubNS_Foo , method ) ;
@@ -147,6 +166,7 @@ static const zend_function_entry ext_functions[] = {
147
166
ZEND_FE (zend_weakmap_remove , arginfo_zend_weakmap_remove )
148
167
ZEND_FE (zend_weakmap_dump , arginfo_zend_weakmap_dump )
149
168
ZEND_FE (zend_get_unit_enum , arginfo_zend_get_unit_enum )
169
+ ZEND_FE (zend_test_parameter_with_attribute , arginfo_zend_test_parameter_with_attribute )
150
170
ZEND_NS_FE ("ZendTestNS2\\ZendSubNS" , namespaced_func , arginfo_ZendTestNS2_ZendSubNS_namespaced_func )
151
171
ZEND_FE_END
152
172
};
@@ -183,6 +203,25 @@ static const zend_function_entry class_ZendTestAttribute_methods[] = {
183
203
};
184
204
185
205
206
+ static const zend_function_entry class_ZendTestParameterAttribute_methods [] = {
207
+ ZEND_ME (ZendTestParameterAttribute , __construct , arginfo_class_ZendTestParameterAttribute___construct , ZEND_ACC_PUBLIC )
208
+ ZEND_FE_END
209
+ };
210
+
211
+
212
+ static const zend_function_entry class_ZendTestClassWithMethodWithParameterAttribute_methods [] = {
213
+ ZEND_ME (ZendTestClassWithMethodWithParameterAttribute , no_override , arginfo_class_ZendTestClassWithMethodWithParameterAttribute_no_override , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
214
+ ZEND_ME (ZendTestClassWithMethodWithParameterAttribute , override , arginfo_class_ZendTestClassWithMethodWithParameterAttribute_override , ZEND_ACC_PUBLIC )
215
+ ZEND_FE_END
216
+ };
217
+
218
+
219
+ static const zend_function_entry class_ZendTestChildClassWithMethodWithParameterAttribute_methods [] = {
220
+ ZEND_ME (ZendTestChildClassWithMethodWithParameterAttribute , override , arginfo_class_ZendTestChildClassWithMethodWithParameterAttribute_override , ZEND_ACC_PUBLIC )
221
+ ZEND_FE_END
222
+ };
223
+
224
+
186
225
static const zend_function_entry class_ZendTestUnitEnum_methods [] = {
187
226
ZEND_FE_END
188
227
};
@@ -314,6 +353,43 @@ static zend_class_entry *register_class_ZendTestAttribute(void)
314
353
return class_entry ;
315
354
}
316
355
356
+ static zend_class_entry * register_class_ZendTestParameterAttribute (void )
357
+ {
358
+ zend_class_entry ce , * class_entry ;
359
+
360
+ INIT_CLASS_ENTRY (ce , "ZendTestParameterAttribute" , class_ZendTestParameterAttribute_methods );
361
+ class_entry = zend_register_internal_class_ex (& ce , NULL );
362
+ class_entry -> ce_flags |= ZEND_ACC_FINAL ;
363
+
364
+ zval property_parameter_default_value ;
365
+ ZVAL_UNDEF (& property_parameter_default_value );
366
+ zend_string * property_parameter_name = zend_string_init ("parameter" , sizeof ("parameter" ) - 1 , 1 );
367
+ 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 ));
368
+ zend_string_release (property_parameter_name );
369
+
370
+ return class_entry ;
371
+ }
372
+
373
+ static zend_class_entry * register_class_ZendTestClassWithMethodWithParameterAttribute (void )
374
+ {
375
+ zend_class_entry ce , * class_entry ;
376
+
377
+ INIT_CLASS_ENTRY (ce , "ZendTestClassWithMethodWithParameterAttribute" , class_ZendTestClassWithMethodWithParameterAttribute_methods );
378
+ class_entry = zend_register_internal_class_ex (& ce , NULL );
379
+
380
+ return class_entry ;
381
+ }
382
+
383
+ static zend_class_entry * register_class_ZendTestChildClassWithMethodWithParameterAttribute (zend_class_entry * class_entry_ZendTestClassWithMethodWithParameterAttribute )
384
+ {
385
+ zend_class_entry ce , * class_entry ;
386
+
387
+ INIT_CLASS_ENTRY (ce , "ZendTestChildClassWithMethodWithParameterAttribute" , class_ZendTestChildClassWithMethodWithParameterAttribute_methods );
388
+ class_entry = zend_register_internal_class_ex (& ce , class_entry_ZendTestClassWithMethodWithParameterAttribute );
389
+
390
+ return class_entry ;
391
+ }
392
+
317
393
static zend_class_entry * register_class_ZendTestUnitEnum (void )
318
394
{
319
395
zend_class_entry * class_entry = zend_register_internal_enum ("ZendTestUnitEnum" , IS_UNDEF , class_ZendTestUnitEnum_methods );
0 commit comments