11/* This is a generated file, edit the .stub.php file instead.
2- * Stub hash: 7326163f8ce5340c12e74af72d47a8926eb39786 */
2+ * Stub hash: af5d698b35753ac9f852688644d6844ba0914b2b */
33
44ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_zend_test_array_return , 0 , 0 , IS_ARRAY , 0 )
55ZEND_END_ARG_INFO ()
@@ -71,6 +71,10 @@ ZEND_END_ARG_INFO()
7171ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX (arginfo_zend_get_unit_enum , 0 , 0 , ZendTestUnitEnum , 0 )
7272ZEND_END_ARG_INFO ()
7373
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+
7478ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_ZendTestNS2_ZendSubNS_namespaced_func , 0 , 0 , _IS_BOOL , 0 )
7579ZEND_END_ARG_INFO ()
7680
@@ -91,6 +95,16 @@ ZEND_END_ARG_INFO()
9195
9296#define arginfo_class__ZendTestTrait_testMethod arginfo_ZendTestNS2_ZendSubNS_namespaced_func
9397
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+
94108#define arginfo_class_ZendTestNS_Foo_method arginfo_zend_test_void_return
95109
96110#define arginfo_class_ZendTestNS2_Foo_method arginfo_zend_test_void_return
@@ -116,13 +130,18 @@ static ZEND_FUNCTION(zend_weakmap_attach);
116130static ZEND_FUNCTION (zend_weakmap_remove );
117131static ZEND_FUNCTION (zend_weakmap_dump );
118132static ZEND_FUNCTION (zend_get_unit_enum );
133+ static ZEND_FUNCTION (zend_test_parameter_with_attribute );
119134static ZEND_FUNCTION (namespaced_func );
120135static ZEND_METHOD (_ZendTestClass , is_object ) ;
121136static ZEND_METHOD (_ZendTestClass , __toString ) ;
122137static ZEND_METHOD (_ZendTestClass , returnsStatic ) ;
123138static ZEND_METHOD (_ZendTestClass , returnsThrowable ) ;
124139static ZEND_METHOD (_ZendTestChildClass , returnsThrowable ) ;
125140static 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 ) ;
126145static ZEND_METHOD (ZendTestNS_Foo , method ) ;
127146static ZEND_METHOD (ZendTestNS2_Foo , method ) ;
128147static ZEND_METHOD (ZendTestNS2_ZendSubNS_Foo , method ) ;
@@ -147,6 +166,7 @@ static const zend_function_entry ext_functions[] = {
147166 ZEND_FE (zend_weakmap_remove , arginfo_zend_weakmap_remove )
148167 ZEND_FE (zend_weakmap_dump , arginfo_zend_weakmap_dump )
149168 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 )
150170 ZEND_NS_FE ("ZendTestNS2\\ZendSubNS" , namespaced_func , arginfo_ZendTestNS2_ZendSubNS_namespaced_func )
151171 ZEND_FE_END
152172};
@@ -183,6 +203,25 @@ static const zend_function_entry class_ZendTestAttribute_methods[] = {
183203};
184204
185205
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+
186225static const zend_function_entry class_ZendTestUnitEnum_methods [] = {
187226 ZEND_FE_END
188227};
@@ -314,6 +353,43 @@ static zend_class_entry *register_class_ZendTestAttribute(void)
314353 return class_entry ;
315354}
316355
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+
317393static zend_class_entry * register_class_ZendTestUnitEnum (void )
318394{
319395 zend_class_entry * class_entry = zend_register_internal_enum ("ZendTestUnitEnum" , IS_UNDEF , class_ZendTestUnitEnum_methods );
0 commit comments