xref: /PHP-8.1/Zend/zend_attributes_arginfo.h (revision 532c60cb)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 3fd949e1b9f49666bed3081ed1e8e711acd9f49c */
3 
4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Attribute___construct, 0, 0, 0)
5 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "Attribute::TARGET_ALL")
6 ZEND_END_ARG_INFO()
7 
8 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReturnTypeWillChange___construct, 0, 0, 0)
9 ZEND_END_ARG_INFO()
10 
11 
12 ZEND_METHOD(Attribute, __construct);
13 ZEND_METHOD(ReturnTypeWillChange, __construct);
14 
15 
16 static const zend_function_entry class_Attribute_methods[] = {
17 	ZEND_ME(Attribute, __construct, arginfo_class_Attribute___construct, ZEND_ACC_PUBLIC)
18 	ZEND_FE_END
19 };
20 
21 
22 static const zend_function_entry class_ReturnTypeWillChange_methods[] = {
23 	ZEND_ME(ReturnTypeWillChange, __construct, arginfo_class_ReturnTypeWillChange___construct, ZEND_ACC_PUBLIC)
24 	ZEND_FE_END
25 };
26 
register_class_Attribute(void)27 static zend_class_entry *register_class_Attribute(void)
28 {
29 	zend_class_entry ce, *class_entry;
30 
31 	INIT_CLASS_ENTRY(ce, "Attribute", class_Attribute_methods);
32 	class_entry = zend_register_internal_class_ex(&ce, NULL);
33 	class_entry->ce_flags |= ZEND_ACC_FINAL;
34 
35 	zval property_flags_default_value;
36 	ZVAL_UNDEF(&property_flags_default_value);
37 	zend_string *property_flags_name = zend_string_init("flags", sizeof("flags") - 1, 1);
38 	zend_declare_typed_property(class_entry, property_flags_name, &property_flags_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
39 	zend_string_release(property_flags_name);
40 
41 	return class_entry;
42 }
43 
register_class_ReturnTypeWillChange(void)44 static zend_class_entry *register_class_ReturnTypeWillChange(void)
45 {
46 	zend_class_entry ce, *class_entry;
47 
48 	INIT_CLASS_ENTRY(ce, "ReturnTypeWillChange", class_ReturnTypeWillChange_methods);
49 	class_entry = zend_register_internal_class_ex(&ce, NULL);
50 	class_entry->ce_flags |= ZEND_ACC_FINAL;
51 
52 	return class_entry;
53 }
54