11/* This is a generated file, edit the .stub.php file instead.
2- * Stub hash: 0af85c5349efaff6f19e003712d9ba929adc9ce1 */
2+ * Stub hash: 57eb52664b0a7b3dd2a38294e9a936d248274a14 */
33
44ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_zend_test_array_return , 0 , 0 , IS_ARRAY , 0 )
55ZEND_END_ARG_INFO ()
@@ -65,6 +65,10 @@ ZEND_END_ARG_INFO()
6565ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX (arginfo_zend_get_unit_enum , 0 , 0 , ZendTestUnitEnum , 0 )
6666ZEND_END_ARG_INFO ()
6767
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+
6872ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_ZendTestNS2_ZendSubNS_namespaced_func , 0 , 0 , _IS_BOOL , 0 )
6973ZEND_END_ARG_INFO ()
7074
@@ -85,6 +89,16 @@ ZEND_END_ARG_INFO()
8589
8690#define arginfo_class__ZendTestTrait_testMethod arginfo_ZendTestNS2_ZendSubNS_namespaced_func
8791
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+
88102#define arginfo_class_ZendTestNS_Foo_method arginfo_zend_test_void_return
89103
90104#define arginfo_class_ZendTestNS2_Foo_method arginfo_zend_test_void_return
@@ -109,13 +123,18 @@ static ZEND_FUNCTION(zend_weakmap_attach);
109123static ZEND_FUNCTION (zend_weakmap_remove );
110124static ZEND_FUNCTION (zend_weakmap_dump );
111125static ZEND_FUNCTION (zend_get_unit_enum );
126+ static ZEND_FUNCTION (zend_test_parameter_with_attribute );
112127static ZEND_FUNCTION (namespaced_func );
113128static ZEND_METHOD (_ZendTestClass , is_object ) ;
114129static ZEND_METHOD (_ZendTestClass , __toString ) ;
115130static ZEND_METHOD (_ZendTestClass , returnsStatic ) ;
116131static ZEND_METHOD (_ZendTestClass , returnsThrowable ) ;
117132static ZEND_METHOD (_ZendTestChildClass , returnsThrowable ) ;
118133static 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 ) ;
119138static ZEND_METHOD (ZendTestNS_Foo , method ) ;
120139static ZEND_METHOD (ZendTestNS2_Foo , method ) ;
121140static ZEND_METHOD (ZendTestNS2_ZendSubNS_Foo , method ) ;
@@ -139,6 +158,7 @@ static const zend_function_entry ext_functions[] = {
139158 ZEND_FE (zend_weakmap_remove , arginfo_zend_weakmap_remove )
140159 ZEND_FE (zend_weakmap_dump , arginfo_zend_weakmap_dump )
141160 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 )
142162 ZEND_NS_FE ("ZendTestNS2\\ZendSubNS" , namespaced_func , arginfo_ZendTestNS2_ZendSubNS_namespaced_func )
143163 ZEND_FE_END
144164};
@@ -175,6 +195,25 @@ static const zend_function_entry class_ZendTestAttribute_methods[] = {
175195};
176196
177197
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+
178217static const zend_function_entry class_ZendTestUnitEnum_methods [] = {
179218 ZEND_FE_END
180219};
@@ -306,6 +345,43 @@ static zend_class_entry *register_class_ZendTestAttribute(void)
306345 return class_entry ;
307346}
308347
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+
309385static zend_class_entry * register_class_ZendTestUnitEnum (void )
310386{
311387 zend_class_entry * class_entry = zend_register_internal_enum ("ZendTestUnitEnum" , IS_UNDEF , class_ZendTestUnitEnum_methods );
0 commit comments