23#define arginfo_zend_test_deprecated_attr arginfo_zend_test_void_return
25#define arginfo_zend_test_aliased arginfo_zend_test_void_return
27#define arginfo_zend_test_deprecated_aliased arginfo_zend_test_void_return
83#define arginfo_zend_weakmap_dump arginfo_zend_test_array_return
92#define arginfo_zend_test_attribute_with_named_argument arginfo_zend_test_void_return
113#define arginfo_zend_test_zend_ini_parse_uquantity arginfo_zend_test_zend_ini_parse_quantity
115#define arginfo_zend_test_zend_ini_str arginfo_zend_get_current_func_name
117#if defined(ZEND_CHECK_STACK_LIMIT)
146#if defined(HAVE_LIBXML) && !defined(PHP_WIN32)
154#if defined(PHP_WIN32)
172#define arginfo_ZendTestNS2_namespaced_func arginfo_zend_test_is_pcre_bundled
174#define arginfo_ZendTestNS2_namespaced_deprecated_func arginfo_zend_test_void_return
176#define arginfo_ZendTestNS2_namespaced_aliased_func arginfo_zend_test_void_return
178#define arginfo_ZendTestNS2_namespaced_deprecated_aliased_func arginfo_zend_test_void_return
180#define arginfo_ZendTestNS2_ZendSubNS_namespaced_func arginfo_zend_test_is_pcre_bundled
182#define arginfo_ZendTestNS2_ZendSubNS_namespaced_deprecated_func arginfo_zend_test_void_return
184#define arginfo_ZendTestNS2_ZendSubNS_namespaced_aliased_func arginfo_zend_test_void_return
186#define arginfo_ZendTestNS2_ZendSubNS_namespaced_deprecated_aliased_func arginfo_zend_test_void_return
188#define arginfo_class__ZendTestClass_is_object arginfo_zend_get_map_ptr_last
190#define arginfo_class__ZendTestClass___toString arginfo_zend_get_current_func_name
211#define arginfo_class__ZendTestMagicCallForward___call arginfo_class__ZendTestMagicCall___call
216#define arginfo_class_ZendAttributeTest_testMethod arginfo_zend_test_is_pcre_bundled
218#define arginfo_class__ZendTestTrait_testMethod arginfo_zend_test_is_pcre_bundled
228#define arginfo_class_ZendTestPropertyAttribute___construct arginfo_class_ZendTestParameterAttribute___construct
230#define arginfo_class_ZendTestClassWithMethodWithParameterAttribute_no_override arginfo_zend_test_parameter_with_attribute
232#define arginfo_class_ZendTestClassWithMethodWithParameterAttribute_override arginfo_zend_test_parameter_with_attribute
234#define arginfo_class_ZendTestChildClassWithMethodWithParameterAttribute_override arginfo_zend_test_parameter_with_attribute
236#define arginfo_class_ZendTestForbidDynamicCall_call arginfo_zend_test_void_return
238#define arginfo_class_ZendTestForbidDynamicCall_callStatic arginfo_zend_test_void_return
240#if (PHP_VERSION_ID >= 80100)
253#define arginfo_class_ZendTestNS2_Foo_method arginfo_zend_test_void_return
255#define arginfo_class_ZendTestNS2_ZendSubNS_Foo_method arginfo_zend_test_void_return
286#if defined(ZEND_CHECK_STACK_LIMIT)
296#if defined(HAVE_LIBXML) && !defined(PHP_WIN32)
300#if defined(PHP_WIN32)
309static ZEND_FUNCTION(ZendTestNS2_ZendSubNS_namespaced_deprecated_func);
330static ZEND_METHOD(ZendTestNS_UnlikelyCompileError, method);
331static ZEND_METHOD(ZendTestNS_NotUnlikelyCompileError, method);
333static ZEND_METHOD(ZendTestNS2_ZendSubNS_Foo, method);
337#if (PHP_VERSION_ID >= 80400)
338 ZEND_RAW_FENTRY(
"zend_test_nullable_array_return", zif_zend_test_nullable_array_return, arginfo_zend_test_nullable_array_return,
ZEND_ACC_COMPILE_TIME_EVAL,
NULL,
"/**\n * \"Lorem ipsum\"\n * @see https://www.php.net\n * @since 8.3\n */")
340#if (PHP_VERSION_ID >= 80200)
342#elif (PHP_VERSION_ID >= 80000)
343 ZEND_RAW_FENTRY(
"zend_test_nullable_array_return", zif_zend_test_nullable_array_return, arginfo_zend_test_nullable_array_return, 0)
348#if (PHP_VERSION_ID >= 80400)
353#if (PHP_VERSION_ID >= 80400)
358#if (PHP_VERSION_ID >= 80400)
363#if (PHP_VERSION_ID >= 80400)
391#if defined(ZEND_CHECK_STACK_LIMIT)
401#if defined(HAVE_LIBXML) && !defined(PHP_WIN32)
405#if defined(PHP_WIN32)
411#if (PHP_VERSION_ID >= 80400)
416#if (PHP_VERSION_ID >= 80400)
421#if (PHP_VERSION_ID >= 80400)
426#if (PHP_VERSION_ID >= 80400)
431#if (PHP_VERSION_ID >= 80400)
436#if (PHP_VERSION_ID >= 80400)
441#if (PHP_VERSION_ID >= 80400)
446#if (PHP_VERSION_ID >= 80400)
504static const zend_function_entry class_ZendTestClassWithMethodWithParameterAttribute_methods[] = {
510static const zend_function_entry class_ZendTestChildClassWithMethodWithParameterAttribute_methods[] = {
527 ZEND_ME(ZendTestNS_UnlikelyCompileError, method, arginfo_class_ZendTestNS_UnlikelyCompileError_method,
ZEND_ACC_PUBLIC)
532 ZEND_ME(ZendTestNS_NotUnlikelyCompileError, method, arginfo_class_ZendTestNS_NotUnlikelyCompileError_method,
ZEND_ACC_PUBLIC)
546static void register_test_symbols(
int module_number)
555 zend_attribute *attribute_Deprecated_func_zend_test_deprecated_attr_0 = zend_add_function_attribute(zend_hash_str_find_ptr(
CG(function_table),
"zend_test_deprecated_attr",
sizeof(
"zend_test_deprecated_attr") - 1), attribute_name_Deprecated_func_zend_test_deprecated_attr_0, 1);
556 zend_string_release(attribute_name_Deprecated_func_zend_test_deprecated_attr_0);
557 zval attribute_Deprecated_func_zend_test_deprecated_attr_0_arg0;
558 zend_string *attribute_Deprecated_func_zend_test_deprecated_attr_0_arg0_str = zend_string_init(
"custom message",
strlen(
"custom message"), 1);
559 ZVAL_STR(&attribute_Deprecated_func_zend_test_deprecated_attr_0_arg0, attribute_Deprecated_func_zend_test_deprecated_attr_0_arg0_str);
560 ZVAL_COPY_VALUE(&attribute_Deprecated_func_zend_test_deprecated_attr_0->
args[0].
value, &attribute_Deprecated_func_zend_test_deprecated_attr_0_arg0);
561 attribute_Deprecated_func_zend_test_deprecated_attr_0->
args[0].
name =
ZSTR_KNOWN(ZEND_STR_MESSAGE);
563 zend_string *attribute_name_ZendTestParameterAttribute_func_zend_test_parameter_with_attribute_arg0_0 =
zend_string_init_interned(
"ZendTestParameterAttribute",
sizeof(
"ZendTestParameterAttribute") - 1, 1);
564 zend_attribute *attribute_ZendTestParameterAttribute_func_zend_test_parameter_with_attribute_arg0_0 = zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"zend_test_parameter_with_attribute",
sizeof(
"zend_test_parameter_with_attribute") - 1), 0, attribute_name_ZendTestParameterAttribute_func_zend_test_parameter_with_attribute_arg0_0, 1);
565 zend_string_release(attribute_name_ZendTestParameterAttribute_func_zend_test_parameter_with_attribute_arg0_0);
566 zval attribute_ZendTestParameterAttribute_func_zend_test_parameter_with_attribute_arg0_0_arg0;
567 zend_string *attribute_ZendTestParameterAttribute_func_zend_test_parameter_with_attribute_arg0_0_arg0_str = zend_string_init(
"value1",
strlen(
"value1"), 1);
568 ZVAL_STR(&attribute_ZendTestParameterAttribute_func_zend_test_parameter_with_attribute_arg0_0_arg0, attribute_ZendTestParameterAttribute_func_zend_test_parameter_with_attribute_arg0_0_arg0_str);
569 ZVAL_COPY_VALUE(&attribute_ZendTestParameterAttribute_func_zend_test_parameter_with_attribute_arg0_0->
args[0].
value, &attribute_ZendTestParameterAttribute_func_zend_test_parameter_with_attribute_arg0_0_arg0);
571 zend_string *attribute_name_ZendTestAttributeWithArguments_func_zend_test_attribute_with_named_argument_0 =
zend_string_init_interned(
"ZendTestAttributeWithArguments",
sizeof(
"ZendTestAttributeWithArguments") - 1, 1);
572 zend_attribute *attribute_ZendTestAttributeWithArguments_func_zend_test_attribute_with_named_argument_0 = zend_add_function_attribute(zend_hash_str_find_ptr(
CG(function_table),
"zend_test_attribute_with_named_argument",
sizeof(
"zend_test_attribute_with_named_argument") - 1), attribute_name_ZendTestAttributeWithArguments_func_zend_test_attribute_with_named_argument_0, 1);
573 zend_string_release(attribute_name_ZendTestAttributeWithArguments_func_zend_test_attribute_with_named_argument_0);
574 zval attribute_ZendTestAttributeWithArguments_func_zend_test_attribute_with_named_argument_0_arg0;
575 zend_string *attribute_ZendTestAttributeWithArguments_func_zend_test_attribute_with_named_argument_0_arg0_str = zend_string_init(
"foo",
strlen(
"foo"), 1);
576 ZVAL_STR(&attribute_ZendTestAttributeWithArguments_func_zend_test_attribute_with_named_argument_0_arg0, attribute_ZendTestAttributeWithArguments_func_zend_test_attribute_with_named_argument_0_arg0_str);
577 ZVAL_COPY_VALUE(&attribute_ZendTestAttributeWithArguments_func_zend_test_attribute_with_named_argument_0->
args[0].
value, &attribute_ZendTestAttributeWithArguments_func_zend_test_attribute_with_named_argument_0_arg0);
588 zval const_DUMMY_value;
593 zend_string_release(const_DUMMY_name);
603#if (PHP_VERSION_ID >= 80400)
609 zend_register_class_alias(
"_ZendTestClassAlias", class_entry);
611 zval const_TYPED_CLASS_CONST1_value;
614#if (PHP_VERSION_ID >= 80300)
619 zend_string_release(const_TYPED_CLASS_CONST1_name);
621 zval const_TYPED_CLASS_CONST2_value;
622 ZVAL_LONG(&const_TYPED_CLASS_CONST2_value, 42);
624#if (PHP_VERSION_ID >= 80300)
629 zend_string_release(const_TYPED_CLASS_CONST2_name);
631 zval const_TYPED_CLASS_CONST3_value;
632 ZVAL_LONG(&const_TYPED_CLASS_CONST3_value, 1);
634#if (PHP_VERSION_ID >= 80300)
639 zend_string_release(const_TYPED_CLASS_CONST3_name);
641 zval const_ZEND_TEST_DEPRECATED_value;
642 ZVAL_LONG(&const_ZEND_TEST_DEPRECATED_value, 42);
644#if (PHP_VERSION_ID >= 80300)
649 zend_string_release(const_ZEND_TEST_DEPRECATED_name);
651 zval const_ZEND_TEST_DEPRECATED_ATTR_value;
652 ZVAL_LONG(&const_ZEND_TEST_DEPRECATED_ATTR_value, 42);
654#if (PHP_VERSION_ID >= 80300)
659 zend_string_release(const_ZEND_TEST_DEPRECATED_ATTR_name);
661 zval property__StaticProp_default_value;
662 ZVAL_NULL(&property__StaticProp_default_value);
663 zend_string *property__StaticProp_name = zend_string_init(
"_StaticProp",
sizeof(
"_StaticProp") - 1, 1);
665 zend_string_release(property__StaticProp_name);
667 zval property_staticIntProp_default_value;
668 ZVAL_LONG(&property_staticIntProp_default_value, 123);
669 zend_string *property_staticIntProp_name = zend_string_init(
"staticIntProp",
sizeof(
"staticIntProp") - 1, 1);
671 zend_string_release(property_staticIntProp_name);
673 zval property_intProp_default_value;
674 ZVAL_LONG(&property_intProp_default_value, 123);
675 zend_string *property_intProp_name = zend_string_init(
"intProp",
sizeof(
"intProp") - 1, 1);
677 zend_string_release(property_intProp_name);
679 zval property_classProp_default_value;
680 ZVAL_NULL(&property_classProp_default_value);
681 zend_string *property_classProp_name = zend_string_init(
"classProp",
sizeof(
"classProp") - 1, 1);
682 zend_string *property_classProp_class_stdClass = zend_string_init(
"stdClass",
sizeof(
"stdClass")-1, 1);
684 zend_string_release(property_classProp_name);
686 zval property_classUnionProp_default_value;
687 ZVAL_NULL(&property_classUnionProp_default_value);
688 zend_string *property_classUnionProp_name = zend_string_init(
"classUnionProp",
sizeof(
"classUnionProp") - 1, 1);
689 zend_string *property_classUnionProp_class_stdClass = zend_string_init(
"stdClass",
sizeof(
"stdClass") - 1, 1);
690 zend_string *property_classUnionProp_class_Iterator = zend_string_init(
"Iterator",
sizeof(
"Iterator") - 1, 1);
692 property_classUnionProp_type_list->
num_types = 2;
697 zend_string_release(property_classUnionProp_name);
699 zval property_classIntersectionProp_default_value;
700 ZVAL_UNDEF(&property_classIntersectionProp_default_value);
701 zend_string *property_classIntersectionProp_name = zend_string_init(
"classIntersectionProp",
sizeof(
"classIntersectionProp") - 1, 1);
702 zend_string *property_classIntersectionProp_class_Traversable = zend_string_init(
"Traversable",
sizeof(
"Traversable") - 1, 1);
703 zend_string *property_classIntersectionProp_class_Countable = zend_string_init(
"Countable",
sizeof(
"Countable") - 1, 1);
705 property_classIntersectionProp_type_list->
num_types = 2;
710 zend_string_release(property_classIntersectionProp_name);
712 zval property_readonlyProp_default_value;
713 ZVAL_UNDEF(&property_readonlyProp_default_value);
714 zend_string *property_readonlyProp_name = zend_string_init(
"readonlyProp",
sizeof(
"readonlyProp") - 1, 1);
715#if (PHP_VERSION_ID >= 80100)
717#elif (PHP_VERSION_ID >= 80000)
720 zend_string_release(property_readonlyProp_name);
724 zend_attribute *attribute_Deprecated_const_ZEND_TEST_DEPRECATED_ATTR_0 = zend_add_class_constant_attribute(class_entry, const_ZEND_TEST_DEPRECATED_ATTR, attribute_name_Deprecated_const_ZEND_TEST_DEPRECATED_ATTR_0, 1);
725 zend_string_release(attribute_name_Deprecated_const_ZEND_TEST_DEPRECATED_ATTR_0);
726 zval attribute_Deprecated_const_ZEND_TEST_DEPRECATED_ATTR_0_arg0;
727 zend_string *attribute_Deprecated_const_ZEND_TEST_DEPRECATED_ATTR_0_arg0_str = zend_string_init(
"custom message",
strlen(
"custom message"), 1);
728 ZVAL_STR(&attribute_Deprecated_const_ZEND_TEST_DEPRECATED_ATTR_0_arg0, attribute_Deprecated_const_ZEND_TEST_DEPRECATED_ATTR_0_arg0_str);
729 ZVAL_COPY_VALUE(&attribute_Deprecated_const_ZEND_TEST_DEPRECATED_ATTR_0->
args[0].
value, &attribute_Deprecated_const_ZEND_TEST_DEPRECATED_ATTR_0_arg0);
730 attribute_Deprecated_const_ZEND_TEST_DEPRECATED_ATTR_0->
args[0].
name =
ZSTR_KNOWN(ZEND_STR_MESSAGE);
739 INIT_CLASS_ENTRY(ce,
"_ZendTestMagicCall", class__ZendTestMagicCall_methods);
740#if (PHP_VERSION_ID >= 80400)
753 INIT_CLASS_ENTRY(ce,
"_ZendTestMagicCallForward", class__ZendTestMagicCallForward_methods);
754#if (PHP_VERSION_ID >= 80400)
767 INIT_CLASS_ENTRY(ce,
"_ZendTestChildClass", class__ZendTestChildClass_methods);
768#if (PHP_VERSION_ID >= 80400)
777static zend_class_entry *register_class_ZendTestGenStubFlagCompatibilityTest(
void)
782#if (PHP_VERSION_ID >= 80400)
786#if (PHP_VERSION_ID >= 80100)
788#elif (PHP_VERSION_ID >= 80000)
801#if (PHP_VERSION_ID >= 80400)
807 zval const_TEST_CONST_value;
811 zend_string_release(const_TEST_CONST_name);
813 zval property_testProp_default_value;
814 ZVAL_NULL(&property_testProp_default_value);
815 zend_string *property_testProp_name = zend_string_init(
"testProp",
sizeof(
"testProp") - 1, 1);
817 zend_string_release(property_testProp_name);
820 zend_string *attribute_name_ZendTestRepeatableAttribute_const_TEST_CONST_0 =
zend_string_init_interned(
"ZendTestRepeatableAttribute",
sizeof(
"ZendTestRepeatableAttribute") - 1, 1);
821 zend_add_class_constant_attribute(class_entry, const_TEST_CONST, attribute_name_ZendTestRepeatableAttribute_const_TEST_CONST_0, 0);
822 zend_string_release(attribute_name_ZendTestRepeatableAttribute_const_TEST_CONST_0);
824 zend_string *attribute_name_ZendTestRepeatableAttribute_const_TEST_CONST_1 =
zend_string_init_interned(
"ZendTestRepeatableAttribute",
sizeof(
"ZendTestRepeatableAttribute") - 1, 1);
825 zend_add_class_constant_attribute(class_entry, const_TEST_CONST, attribute_name_ZendTestRepeatableAttribute_const_TEST_CONST_1, 0);
826 zend_string_release(attribute_name_ZendTestRepeatableAttribute_const_TEST_CONST_1);
829 zend_string *attribute_name_ZendTestRepeatableAttribute_property_testProp_0 =
zend_string_init_interned(
"ZendTestRepeatableAttribute",
sizeof(
"ZendTestRepeatableAttribute") - 1, 1);
830 zend_add_property_attribute(class_entry, property_testProp, attribute_name_ZendTestRepeatableAttribute_property_testProp_0, 0);
831 zend_string_release(attribute_name_ZendTestRepeatableAttribute_property_testProp_0);
834 zend_attribute *attribute_ZendTestPropertyAttribute_property_testProp_1 = zend_add_property_attribute(class_entry, property_testProp, attribute_name_ZendTestPropertyAttribute_property_testProp_1, 1);
835 zend_string_release(attribute_name_ZendTestPropertyAttribute_property_testProp_1);
836 zval attribute_ZendTestPropertyAttribute_property_testProp_1_arg0;
837 zend_string *attribute_ZendTestPropertyAttribute_property_testProp_1_arg0_str = zend_string_init(
"testProp",
strlen(
"testProp"), 1);
838 ZVAL_STR(&attribute_ZendTestPropertyAttribute_property_testProp_1_arg0, attribute_ZendTestPropertyAttribute_property_testProp_1_arg0_str);
839 ZVAL_COPY_VALUE(&attribute_ZendTestPropertyAttribute_property_testProp_1->
args[0].
value, &attribute_ZendTestPropertyAttribute_property_testProp_1_arg0);
843 zend_add_function_attribute(zend_hash_str_find_ptr(&class_entry->
function_table,
"testmethod",
sizeof(
"testmethod") - 1), attribute_name_ZendTestAttribute_func_testmethod_0, 0);
844 zend_string_release(attribute_name_ZendTestAttribute_func_testmethod_0);
854#if (PHP_VERSION_ID >= 80400)
861 zval property_testProp_default_value;
862 ZVAL_NULL(&property_testProp_default_value);
863 zend_string *property_testProp_name = zend_string_init(
"testProp",
sizeof(
"testProp") - 1, 1);
865 zend_string_release(property_testProp_name);
867 zval property_classUnionProp_default_value;
868 ZVAL_UNDEF(&property_classUnionProp_default_value);
869 zend_string *property_classUnionProp_name = zend_string_init(
"classUnionProp",
sizeof(
"classUnionProp") - 1, 1);
870 zend_string *property_classUnionProp_class_Traversable = zend_string_init(
"Traversable",
sizeof(
"Traversable") - 1, 1);
871 zend_string *property_classUnionProp_class_Countable = zend_string_init(
"Countable",
sizeof(
"Countable") - 1, 1);
873 property_classUnionProp_type_list->
num_types = 2;
878 zend_string_release(property_classUnionProp_name);
888#if (PHP_VERSION_ID >= 80400)
896 zend_attribute *attribute_Attribute_class_ZendTestAttribute_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_ZendTestAttribute_0, 1);
897 zend_string_release(attribute_name_Attribute_class_ZendTestAttribute_0);
898 zval attribute_Attribute_class_ZendTestAttribute_0_arg0;
900 ZVAL_COPY_VALUE(&attribute_Attribute_class_ZendTestAttribute_0->
args[0].
value, &attribute_Attribute_class_ZendTestAttribute_0_arg0);
909 INIT_CLASS_ENTRY(ce,
"ZendTestAttributeWithArguments", class_ZendTestAttributeWithArguments_methods);
910#if (PHP_VERSION_ID >= 80400)
917 zval property_arg_default_value;
919 zend_string *property_arg_name = zend_string_init(
"arg",
sizeof(
"arg") - 1, 1);
920#if (PHP_VERSION_ID >= 80100)
922#elif (PHP_VERSION_ID >= 80000)
925 zend_string_release(property_arg_name);
928 zend_attribute *attribute_Attribute_class_ZendTestAttributeWithArguments_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_ZendTestAttributeWithArguments_0, 1);
929 zend_string_release(attribute_name_Attribute_class_ZendTestAttributeWithArguments_0);
930 zval attribute_Attribute_class_ZendTestAttributeWithArguments_0_arg0;
932 ZVAL_COPY_VALUE(&attribute_Attribute_class_ZendTestAttributeWithArguments_0->
args[0].
value, &attribute_Attribute_class_ZendTestAttributeWithArguments_0_arg0);
942#if (PHP_VERSION_ID >= 80400)
950 zend_attribute *attribute_Attribute_class_ZendTestRepeatableAttribute_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_ZendTestRepeatableAttribute_0, 1);
951 zend_string_release(attribute_name_Attribute_class_ZendTestRepeatableAttribute_0);
952 zval attribute_Attribute_class_ZendTestRepeatableAttribute_0_arg0;
954 ZVAL_COPY_VALUE(&attribute_Attribute_class_ZendTestRepeatableAttribute_0->
args[0].
value, &attribute_Attribute_class_ZendTestRepeatableAttribute_0_arg0);
963 INIT_CLASS_ENTRY(ce,
"ZendTestParameterAttribute", class_ZendTestParameterAttribute_methods);
964#if (PHP_VERSION_ID >= 80400)
971 zval property_parameter_default_value;
972 ZVAL_UNDEF(&property_parameter_default_value);
973 zend_string *property_parameter_name = zend_string_init(
"parameter",
sizeof(
"parameter") - 1, 1);
975 zend_string_release(property_parameter_name);
978 zend_attribute *attribute_Attribute_class_ZendTestParameterAttribute_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_ZendTestParameterAttribute_0, 1);
979 zend_string_release(attribute_name_Attribute_class_ZendTestParameterAttribute_0);
980 zval attribute_Attribute_class_ZendTestParameterAttribute_0_arg0;
982 ZVAL_COPY_VALUE(&attribute_Attribute_class_ZendTestParameterAttribute_0->
args[0].
value, &attribute_Attribute_class_ZendTestParameterAttribute_0_arg0);
991 INIT_CLASS_ENTRY(ce,
"ZendTestPropertyAttribute", class_ZendTestPropertyAttribute_methods);
992#if (PHP_VERSION_ID >= 80400)
998#if (PHP_VERSION_ID >= 80400)
1002 zval property_parameter_default_value;
1003 ZVAL_UNDEF(&property_parameter_default_value);
1004 zend_string *property_parameter_name = zend_string_init(
"parameter",
sizeof(
"parameter") - 1, 1);
1007 zend_string_release(property_parameter_name);
1010 zend_attribute *attribute_Attribute_class_ZendTestPropertyAttribute_0 = zend_add_class_attribute(class_entry, attribute_name_Attribute_class_ZendTestPropertyAttribute_0, 1);
1011 zend_string_release(attribute_name_Attribute_class_ZendTestPropertyAttribute_0);
1012 zval attribute_Attribute_class_ZendTestPropertyAttribute_0_arg0;
1014 ZVAL_COPY_VALUE(&attribute_Attribute_class_ZendTestPropertyAttribute_0->
args[0].
value, &attribute_Attribute_class_ZendTestPropertyAttribute_0_arg0);
1019static zend_class_entry *register_class_ZendTestClassWithMethodWithParameterAttribute(
void)
1023 INIT_CLASS_ENTRY(ce,
"ZendTestClassWithMethodWithParameterAttribute", class_ZendTestClassWithMethodWithParameterAttribute_methods);
1024#if (PHP_VERSION_ID >= 80400)
1031 zend_string *attribute_name_ZendTestParameterAttribute_func_no_override_arg0_0 =
zend_string_init_interned(
"ZendTestParameterAttribute",
sizeof(
"ZendTestParameterAttribute") - 1, 1);
1032 zend_attribute *attribute_ZendTestParameterAttribute_func_no_override_arg0_0 = zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->
function_table,
"no_override",
sizeof(
"no_override") - 1), 0, attribute_name_ZendTestParameterAttribute_func_no_override_arg0_0, 1);
1033 zend_string_release(attribute_name_ZendTestParameterAttribute_func_no_override_arg0_0);
1034 zval attribute_ZendTestParameterAttribute_func_no_override_arg0_0_arg0;
1035 zend_string *attribute_ZendTestParameterAttribute_func_no_override_arg0_0_arg0_str = zend_string_init(
"value2",
strlen(
"value2"), 1);
1036 ZVAL_STR(&attribute_ZendTestParameterAttribute_func_no_override_arg0_0_arg0, attribute_ZendTestParameterAttribute_func_no_override_arg0_0_arg0_str);
1037 ZVAL_COPY_VALUE(&attribute_ZendTestParameterAttribute_func_no_override_arg0_0->
args[0].
value, &attribute_ZendTestParameterAttribute_func_no_override_arg0_0_arg0);
1039 zend_string *attribute_name_ZendTestParameterAttribute_func_override_arg0_0 =
zend_string_init_interned(
"ZendTestParameterAttribute",
sizeof(
"ZendTestParameterAttribute") - 1, 1);
1040 zend_attribute *attribute_ZendTestParameterAttribute_func_override_arg0_0 = zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->
function_table,
"override",
sizeof(
"override") - 1), 0, attribute_name_ZendTestParameterAttribute_func_override_arg0_0, 1);
1041 zend_string_release(attribute_name_ZendTestParameterAttribute_func_override_arg0_0);
1042 zval attribute_ZendTestParameterAttribute_func_override_arg0_0_arg0;
1043 zend_string *attribute_ZendTestParameterAttribute_func_override_arg0_0_arg0_str = zend_string_init(
"value3",
strlen(
"value3"), 1);
1044 ZVAL_STR(&attribute_ZendTestParameterAttribute_func_override_arg0_0_arg0, attribute_ZendTestParameterAttribute_func_override_arg0_0_arg0_str);
1045 ZVAL_COPY_VALUE(&attribute_ZendTestParameterAttribute_func_override_arg0_0->
args[0].
value, &attribute_ZendTestParameterAttribute_func_override_arg0_0_arg0);
1050static zend_class_entry *register_class_ZendTestChildClassWithMethodWithParameterAttribute(
zend_class_entry *class_entry_ZendTestClassWithMethodWithParameterAttribute)
1054 INIT_CLASS_ENTRY(ce,
"ZendTestChildClassWithMethodWithParameterAttribute", class_ZendTestChildClassWithMethodWithParameterAttribute_methods);
1055#if (PHP_VERSION_ID >= 80400)
1062 zend_string *attribute_name_ZendTestParameterAttribute_func_override_arg0_0 =
zend_string_init_interned(
"ZendTestParameterAttribute",
sizeof(
"ZendTestParameterAttribute") - 1, 1);
1063 zend_attribute *attribute_ZendTestParameterAttribute_func_override_arg0_0 = zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->
function_table,
"override",
sizeof(
"override") - 1), 0, attribute_name_ZendTestParameterAttribute_func_override_arg0_0, 1);
1064 zend_string_release(attribute_name_ZendTestParameterAttribute_func_override_arg0_0);
1065 zval attribute_ZendTestParameterAttribute_func_override_arg0_0_arg0;
1066 zend_string *attribute_ZendTestParameterAttribute_func_override_arg0_0_arg0_str = zend_string_init(
"value4",
strlen(
"value4"), 1);
1067 ZVAL_STR(&attribute_ZendTestParameterAttribute_func_override_arg0_0_arg0, attribute_ZendTestParameterAttribute_func_override_arg0_0_arg0_str);
1068 ZVAL_COPY_VALUE(&attribute_ZendTestParameterAttribute_func_override_arg0_0->
args[0].
value, &attribute_ZendTestParameterAttribute_func_override_arg0_0_arg0);
1073static zend_class_entry *register_class_ZendTestClassWithPropertyAttribute(
void)
1078#if (PHP_VERSION_ID >= 80400)
1084 zval property_attributed_default_value;
1085 ZVAL_UNDEF(&property_attributed_default_value);
1086 zend_string *property_attributed_name = zend_string_init(
"attributed",
sizeof(
"attributed") - 1, 1);
1088 zend_string_release(property_attributed_name);
1092 zend_add_property_attribute(class_entry, property_attributed, attribute_name_ZendTestAttribute_property_attributed_0, 0);
1093 zend_string_release(attribute_name_ZendTestAttribute_property_attributed_0);
1102 INIT_CLASS_ENTRY(ce,
"ZendTestForbidDynamicCall", class_ZendTestForbidDynamicCall_methods);
1103#if (PHP_VERSION_ID >= 80400)
1113#if (PHP_VERSION_ID >= 80100)
1126#if (PHP_VERSION_ID >= 80100)
1131 zval enum_case_Foo_value;
1132 zend_string *enum_case_Foo_value_str = zend_string_init(
"Test1",
strlen(
"Test1"), 1);
1133 ZVAL_STR(&enum_case_Foo_value, enum_case_Foo_value_str);
1136 zval enum_case_Bar_value;
1137 zend_string *enum_case_Bar_value_str = zend_string_init(
"Test2",
strlen(
"Test2"), 1);
1138 ZVAL_STR(&enum_case_Bar_value, enum_case_Bar_value_str);
1141 zval enum_case_Baz_value;
1142 zend_string *enum_case_Baz_value_str = zend_string_init(
"Test2\\a",
strlen(
"Test2\\a"), 1);
1143 ZVAL_STR(&enum_case_Baz_value, enum_case_Baz_value_str);
1146 zval enum_case_FortyTwo_value;
1147 zend_string *enum_case_FortyTwo_value_str = zend_string_init(
"42",
strlen(
"42"), 1);
1148 ZVAL_STR(&enum_case_FortyTwo_value, enum_case_FortyTwo_value_str);
1155#if (PHP_VERSION_ID >= 80100)
1160 zval enum_case_Foo_value;
1164 zval enum_case_Bar_value;
1168 zval enum_case_Baz_value;
1181#if (PHP_VERSION_ID >= 80400)
1190static zend_class_entry *register_class_ZendTestNS_UnlikelyCompileError(
void)
1194 INIT_NS_CLASS_ENTRY(ce,
"ZendTestNS",
"UnlikelyCompileError", class_ZendTestNS_UnlikelyCompileError_methods);
1195#if (PHP_VERSION_ID >= 80400)
1204static zend_class_entry *register_class_ZendTestNS_NotUnlikelyCompileError(
void)
1208 INIT_NS_CLASS_ENTRY(ce,
"ZendTestNS",
"NotUnlikelyCompileError", class_ZendTestNS_NotUnlikelyCompileError_methods);
1209#if (PHP_VERSION_ID >= 80400)
1223#if (PHP_VERSION_ID >= 80400)
1229 zval property_foo_default_value;
1231 zend_string *property_foo_name = zend_string_init(
"foo",
sizeof(
"foo") - 1, 1);
1232 zend_string *property_foo_class_ZendTestNS2_ZendSubNS_Foo = zend_string_init(
"ZendTestNS2\\ZendSubNS\\Foo",
sizeof(
"ZendTestNS2\\ZendSubNS\\Foo")-1, 1);
1234 zend_string_release(property_foo_name);
1243 INIT_NS_CLASS_ENTRY(ce,
"ZendTestNS2\\ZendSubNS",
"Foo", class_ZendTestNS2_ZendSubNS_Foo_methods);
1244#if (PHP_VERSION_ID >= 80400)
zend_attribute_arg args[1]
zend_string * doc_comment
zend_test_zend_call_stack_get()
zend_create_unterminated_string(string $str)
zend_string_or_stdclass($param)
zend_test_zend_call_stack_use_all()
zend_test_is_zend_ptr(int $addr)
zend_test_log_err_debug(string $str)
zend_test_crash(?string $message=null)
zend_iterable(iterable $arg1, ?iterable $arg2=null)
zend_test_is_pcre_bundled()
zend_string_or_object(object|string $param)
zend_test_deprecated(mixed $arg=null)
zend_test_parameter_with_attribute(#[ZendTestParameterAttribute("value1")] string $parameter)
zend_string_or_object_or_null(object|string|null $param)
zend_number_or_string(string|int|float $param)
zend_test_nullable_array_return()
zend_weakmap_remove(object $object)
zend_test_zend_ini_parse_uquantity(string $str)
zend_terminate_string(string &$str)
zend_leak_variable(mixed $variable)
zend_test_create_throwing_resource()
zend_test_fill_packed_array(array &$array)
zend_test_zend_ini_parse_quantity(string $str)
zend_get_current_func_name()
zend_test_override_libxml_global_state()
zend_string_or_stdclass_or_null($param)
zend_test_compile_string(string $source_string, string $filename, int $position)
zend_object_init_with_constructor(string $class, mixed ... $args)
zend_test_set_fmode(bool $binary)
zend_weakmap_attach(object $object, mixed $value)
zend_test_cast_fread($stream)
zend_test_attribute_with_named_argument()
zend_number_or_string_or_null(string|int|float|null $param)
zend_test_is_string_marked_as_valid_utf8(string $string)
zend_leak_bytes(int $bytes=3)
zend_test_deprecated_attr()
#define arginfo_class_ZendTestChildClassWithMethodWithParameterAttribute_override
#define arginfo_ZendTestNS2_ZendSubNS_namespaced_aliased_func
#define arginfo_class__ZendTestMagicCallForward___call
#define arginfo_class_ZendAttributeTest_testMethod
#define arginfo_class_ZendTestNS2_ZendSubNS_Foo_method
#define arginfo_zend_test_zend_ini_str
#define arginfo_ZendTestNS2_namespaced_deprecated_func
#define arginfo_class__ZendTestClass___toString
#define arginfo_ZendTestNS2_namespaced_deprecated_aliased_func
#define arginfo_class__ZendTestClass_is_object
#define arginfo_class_ZendTestClassWithMethodWithParameterAttribute_no_override
#define arginfo_ZendTestNS2_namespaced_func
#define arginfo_class_ZendTestForbidDynamicCall_callStatic
#define arginfo_class_ZendTestForbidDynamicCall_call
#define arginfo_zend_test_deprecated_aliased
#define arginfo_class_ZendTestClassWithMethodWithParameterAttribute_override
#define arginfo_ZendTestNS2_ZendSubNS_namespaced_deprecated_func
#define arginfo_zend_test_deprecated_attr
#define arginfo_zend_test_zend_ini_parse_uquantity
#define arginfo_zend_test_aliased
#define arginfo_class__ZendTestTrait_testMethod
#define arginfo_ZendTestNS2_ZendSubNS_namespaced_deprecated_aliased_func
#define arginfo_ZendTestNS2_namespaced_aliased_func
#define arginfo_class_ZendTestNS2_Foo_method
#define arginfo_class_ZendTestPropertyAttribute___construct
#define arginfo_ZendTestNS2_ZendSubNS_namespaced_func
#define arginfo_zend_weakmap_dump
#define arginfo_zend_test_attribute_with_named_argument
ZEND_API zend_class_entry * zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce)
ZEND_API zend_property_info * zend_declare_typed_property(zend_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment, zend_type type)
ZEND_API zend_class_entry * zend_register_internal_interface(zend_class_entry *orig_class_entry)
ZEND_API zend_class_constant * zend_declare_typed_class_constant(zend_class_entry *ce, zend_string *name, zval *value, int flags, zend_string *doc_comment, zend_type type)
ZEND_API zend_class_entry * zend_register_internal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t ce_flags)
ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces,...)
ZEND_API zend_class_constant * zend_declare_class_constant_ex(zend_class_entry *ce, zend_string *name, zval *value, int flags, zend_string *doc_comment)
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
#define ZEND_ARG_VARIADIC_OBJ_TYPE_MASK(pass_by_ref, name, class_name, type_mask)
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
struct _zend_function_entry zend_function_entry
#define ZEND_ARG_OBJ_TYPE_MASK(pass_by_ref, name, class_name, type_mask, default_value)
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
#define INIT_CLASS_ENTRY(class_container, class_name, functions)
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
#define ZEND_ARG_INFO(pass_by_ref, name)
#define ZEND_ARG_TYPE_MASK(pass_by_ref, name, type_mask, default_value)
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(name, return_reference, required_num_args, class_name, allow_null)
#define ZEND_METHOD(classname, name)
#define ZEND_END_ARG_INFO()
#define ZEND_ARG_VARIADIC_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
#define ZEND_BEGIN_ARG_INFO_EX(name, _unused, return_reference, required_num_args)
#define ZEND_NS_NAME(ns, name)
#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
#define ZEND_FE(name, arg_info)
#define ZEND_ME(classname, name, arg_info, flags)
#define ZEND_FUNCTION(name)
#define INIT_NS_CLASS_ENTRY(class_container, ns, class_name, functions)
#define ZEND_ATTRIBUTE_TARGET_PARAMETER
#define ZEND_ATTRIBUTE_IS_REPEATABLE
#define ZEND_ATTRIBUTE_TARGET_ALL
struct _zend_attribute zend_attribute
#define ZEND_ATTRIBUTE_TARGET_PROPERTY
#define ZEND_ACC_NOT_SERIALIZABLE
#define ZEND_ACC_COMPILE_TIME_EVAL
#define ZEND_ACC_READONLY
struct _zend_class_constant zend_class_constant
struct _zend_property_info zend_property_info
#define ZEND_ACC_DEPRECATED
#define REGISTER_STRING_CONSTANT(name, str, flags)
#define REGISTER_LONG_CONSTANT(name, lval, flags)
ZEND_API zend_class_entry * zend_register_internal_enum(const char *name, uint8_t type, const zend_function_entry *functions)
ZEND_API void zend_enum_add_case_cstr(zend_class_entry *ce, const char *name, zval *value)
#define ZVAL_EMPTY_ARRAY(z)
ZEND_API zval * zend_call_method(zend_object *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval_ptr, uint32_t param_count, zval *arg1, zval *arg2)
struct _zend_string zend_string
struct _zend_class_entry zend_class_entry
ZEND_API zend_string_init_interned_func_t zend_string_init_interned
#define ZEND_TYPE_INIT_UNION(ptr, extra_flags)
#define ZEND_TYPE_INIT_MASK(_type_mask)
#define ZEND_TYPE_LIST_SIZE(num_types)
#define ZEND_TYPE_INIT_NONE(extra_flags)
#define ZEND_TYPE_INIT_INTERSECTION(ptr, extra_flags)
#define ZEND_TYPE_INIT_CLASS(class_name, allow_null, extra_flags)
#define ZVAL_COPY_VALUE(z, v)