diff --git a/Zend/tests/zpp/str_zpp_specifier_strict_mode.phpt b/Zend/tests/zpp/str_zpp_specifier_strict_mode.phpt new file mode 100644 index 000000000000..217118d24e2e --- /dev/null +++ b/Zend/tests/zpp/str_zpp_specifier_strict_mode.phpt @@ -0,0 +1,190 @@ +--TEST-- +Test str ZPP specifier (strict_mode) +--EXTENSIONS-- +zend_test +--FILE-- + $type) { + echo "Using $name:\n"; + + try { + var_dump(zend_str($type)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + try { + var_dump(zend_str_or_null($type)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + try { + var_dump(zend_str_slow_zpp($type)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + try { + var_dump(zend_str_or_null_slow_zpp($type)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + $ref =& $type; + + try { + var_dump(zend_str($ref)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + try { + var_dump(zend_str_or_null($ref)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + try { + var_dump(zend_str_slow_zpp($ref)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + try { + var_dump(zend_str_or_null_slow_zpp($ref)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } +} +?> +--EXPECTF-- +Using null: +TypeError: zend_str(): Argument #1 ($param) must be of type string, null given +NULL +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, null given +NULL +TypeError: zend_str(): Argument #1 ($param) must be of type string, null given +NULL +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, null given +NULL +Using false: +TypeError: zend_str(): Argument #1 ($param) must be of type string, false given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, false given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, false given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, false given +TypeError: zend_str(): Argument #1 ($param) must be of type string, false given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, false given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, false given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, false given +Using true: +TypeError: zend_str(): Argument #1 ($param) must be of type string, true given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, true given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, true given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, true given +TypeError: zend_str(): Argument #1 ($param) must be of type string, true given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, true given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, true given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, true given +Using 42: +TypeError: zend_str(): Argument #1 ($param) must be of type string, int given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, int given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, int given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, int given +TypeError: zend_str(): Argument #1 ($param) must be of type string, int given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, int given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, int given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, int given +Using 73.5: +TypeError: zend_str(): Argument #1 ($param) must be of type string, float given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, float given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, float given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, float given +TypeError: zend_str(): Argument #1 ($param) must be of type string, float given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, float given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, float given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, float given +Using 'string': +string(6) "string" +string(6) "string" +string(6) "string" +string(6) "string" +string(6) "string" +string(6) "string" +string(6) "string" +string(6) "string" +Using '15': +string(2) "15" +string(2) "15" +string(2) "15" +string(2) "15" +string(2) "15" +string(2) "15" +string(2) "15" +string(2) "15" +Using '56.7': +string(4) "56.7" +string(4) "56.7" +string(4) "56.7" +string(4) "56.7" +string(4) "56.7" +string(4) "56.7" +string(4) "56.7" +string(4) "56.7" +Using 'stdClass': +string(8) "stdClass" +string(8) "stdClass" +string(8) "stdClass" +string(8) "stdClass" +string(8) "stdClass" +string(8) "stdClass" +string(8) "stdClass" +string(8) "stdClass" +Using anon class name: +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +Using []: +TypeError: zend_str(): Argument #1 ($param) must be of type string, array given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, array given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, array given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, array given +TypeError: zend_str(): Argument #1 ($param) must be of type string, array given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, array given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, array given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, array given +Using new stdClass(): +TypeError: zend_str(): Argument #1 ($param) must be of type string, stdClass given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, stdClass given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, stdClass given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, stdClass given +TypeError: zend_str(): Argument #1 ($param) must be of type string, stdClass given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, stdClass given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, stdClass given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, stdClass given +Using new S(): +TypeError: zend_str(): Argument #1 ($param) must be of type string, S given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, S given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, S given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, S given +TypeError: zend_str(): Argument #1 ($param) must be of type string, S given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, S given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, S given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, S given +Using STDOUT: +TypeError: zend_str(): Argument #1 ($param) must be of type string, resource given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, resource given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, resource given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, resource given +TypeError: zend_str(): Argument #1 ($param) must be of type string, resource given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, resource given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, resource given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, resource given diff --git a/Zend/tests/zpp/str_zpp_specifier_weak_mode.phpt b/Zend/tests/zpp/str_zpp_specifier_weak_mode.phpt new file mode 100644 index 000000000000..0b9863ebce72 --- /dev/null +++ b/Zend/tests/zpp/str_zpp_specifier_weak_mode.phpt @@ -0,0 +1,197 @@ +--TEST-- +Test str ZPP specifier (weak_mode) +--EXTENSIONS-- +zend_test +--FILE-- + $type) { + echo "Using $name:\n"; + + try { + var_dump(zend_str($type)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + try { + var_dump(zend_str_or_null($type)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + try { + var_dump(zend_str_slow_zpp($type)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + try { + var_dump(zend_str_or_null_slow_zpp($type)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + $ref =& $type; + + try { + var_dump(zend_str($ref)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + try { + var_dump(zend_str_or_null($ref)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + try { + var_dump(zend_str_slow_zpp($ref)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } + + try { + var_dump(zend_str_or_null_slow_zpp($ref)); + } catch (Throwable $e) { + echo $e::class, ': ', $e->getMessage(), "\n"; + } +} +?> +--EXPECTF-- +Using null: + +Deprecated: zend_str(): Passing null to parameter #1 ($param) of type string is deprecated in %s on line %d +string(0) "" +NULL + +Deprecated: zend_str_slow_zpp(): Passing null to parameter #1 ($param) of type string is deprecated in %s on line %d +string(0) "" +NULL + +Deprecated: zend_str(): Passing null to parameter #1 ($param) of type string is deprecated in %s on line %d +string(0) "" +NULL + +Deprecated: zend_str_slow_zpp(): Passing null to parameter #1 ($param) of type string is deprecated in %s on line %d +string(0) "" +NULL +Using false: +string(0) "" +string(0) "" +string(0) "" +string(0) "" +string(0) "" +string(0) "" +string(0) "" +string(0) "" +Using true: +string(1) "1" +string(1) "1" +string(1) "1" +string(1) "1" +string(1) "1" +string(1) "1" +string(1) "1" +string(1) "1" +Using 42: +string(2) "42" +string(2) "42" +string(2) "42" +string(2) "42" +string(2) "42" +string(2) "42" +string(2) "42" +string(2) "42" +Using 73.5: +string(4) "73.5" +string(4) "73.5" +string(4) "73.5" +string(4) "73.5" +string(4) "73.5" +string(4) "73.5" +string(4) "73.5" +string(4) "73.5" +Using 'string': +string(6) "string" +string(6) "string" +string(6) "string" +string(6) "string" +string(6) "string" +string(6) "string" +string(6) "string" +string(6) "string" +Using '15': +string(2) "15" +string(2) "15" +string(2) "15" +string(2) "15" +string(2) "15" +string(2) "15" +string(2) "15" +string(2) "15" +Using '56.7': +string(4) "56.7" +string(4) "56.7" +string(4) "56.7" +string(4) "56.7" +string(4) "56.7" +string(4) "56.7" +string(4) "56.7" +string(4) "56.7" +Using 'stdClass': +string(8) "stdClass" +string(8) "stdClass" +string(8) "stdClass" +string(8) "stdClass" +string(8) "stdClass" +string(8) "stdClass" +string(8) "stdClass" +string(8) "stdClass" +Using anon class name: +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +string(%d) "class@anonymous%s" +Using []: +TypeError: zend_str(): Argument #1 ($param) must be of type string, array given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, array given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, array given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, array given +TypeError: zend_str(): Argument #1 ($param) must be of type string, array given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, array given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, array given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, array given +Using new stdClass(): +TypeError: zend_str(): Argument #1 ($param) must be of type string, stdClass given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, stdClass given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, stdClass given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, stdClass given +TypeError: zend_str(): Argument #1 ($param) must be of type string, stdClass given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, stdClass given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, stdClass given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, stdClass given +Using new S(): +string(7) "S class" +string(7) "S class" +string(7) "S class" +string(7) "S class" +string(7) "S class" +string(7) "S class" +string(7) "S class" +string(7) "S class" +Using STDOUT: +TypeError: zend_str(): Argument #1 ($param) must be of type string, resource given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, resource given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, resource given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, resource given +TypeError: zend_str(): Argument #1 ($param) must be of type string, resource given +TypeError: zend_str_or_null(): Argument #1 ($param) must be of type ?string, resource given +TypeError: zend_str_slow_zpp(): Argument #1 ($param) must be of type string, resource given +TypeError: zend_str_or_null_slow_zpp(): Argument #1 ($param) must be of type ?string, resource given diff --git a/ext/zend_test/test.c b/ext/zend_test/test.c index fc346dd5aa0a..85cd02760382 100644 --- a/ext/zend_test/test.c +++ b/ext/zend_test/test.c @@ -759,6 +759,58 @@ static ZEND_FUNCTION(zend_obj_sdtClass_or_null) RETURN_OBJ_COPY(v); } +static ZEND_FUNCTION(zend_str) +{ + zend_string *str; + + ZEND_PARSE_PARAMETERS_START(1, 1) + Z_PARAM_STR(str) + ZEND_PARSE_PARAMETERS_END(); + + RETURN_STR_COPY(str); +} + +static ZEND_FUNCTION(zend_str_or_null) +{ + zend_string *str; + + ZEND_PARSE_PARAMETERS_START(1, 1) + Z_PARAM_STR_OR_NULL(str) + ZEND_PARSE_PARAMETERS_END(); + + if (str == NULL) { + RETURN_NULL(); + } + + RETURN_STR_COPY(str); +} + +static ZEND_FUNCTION(zend_str_slow_zpp) +{ + zend_string *str; + + if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &str) == FAILURE) { + RETURN_THROWS(); + } + + RETURN_STR_COPY(str); +} + +static ZEND_FUNCTION(zend_str_or_null_slow_zpp) +{ + zend_string *str; + + if (zend_parse_parameters(ZEND_NUM_ARGS(), "S!", &str) == FAILURE) { + RETURN_THROWS(); + } + + if (str == NULL) { + RETURN_NULL(); + } + + RETURN_STR_COPY(str); +} + static ZEND_FUNCTION(zend_obj_stdclass_or_string) { zend_string *str; diff --git a/ext/zend_test/test.stub.php b/ext/zend_test/test.stub.php index 87ad8c9b93c8..17fa15380a24 100644 --- a/ext/zend_test/test.stub.php +++ b/ext/zend_test/test.stub.php @@ -353,6 +353,11 @@ function zend_object_sdtClass_or_null_slow_zpp(stdClass|null $param): stdClass|n function zend_obj_sdtClass(stdClass $param): stdClass {} function zend_obj_sdtClass_or_null(stdClass|null $param): stdClass|null {} + function zend_str(string $param): string {} + function zend_str_or_null(string|null $param): string|null {} + function zend_str_slow_zpp(string $param): string {} + function zend_str_or_null_slow_zpp(string|null $param): string|null {} + /** * @param resource $param * @return resource diff --git a/ext/zend_test/test_arginfo.h b/ext/zend_test/test_arginfo.h index 314d66a2799a..aebb3dfbd88b 100644 --- a/ext/zend_test/test_arginfo.h +++ b/ext/zend_test/test_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit test.stub.php instead. - * Stub hash: 64eb27c89a9a5a378385e5f778cd17cfd67caed8 + * Stub hash: 2e17e640c12b6e712f277417114064d76f958c7b * Has decl header: yes */ #include "zend_attributes.h" @@ -177,6 +177,14 @@ ZEND_END_ARG_INFO() #define arginfo_zend_obj_sdtClass_or_null arginfo_zend_object_sdtClass_or_null +#define arginfo_zend_str arginfo_zend_class_name + +#define arginfo_zend_str_or_null arginfo_zend_class_name_or_null + +#define arginfo_zend_str_slow_zpp arginfo_zend_class_name + +#define arginfo_zend_str_or_null_slow_zpp arginfo_zend_class_name_or_null + ZEND_BEGIN_ARG_INFO_EX(arginfo_zend_resource, 0, 0, 1) ZEND_ARG_INFO(0, param) ZEND_END_ARG_INFO() @@ -524,6 +532,10 @@ static ZEND_FUNCTION(zend_object_sdtClass_slow_zpp); static ZEND_FUNCTION(zend_object_sdtClass_or_null_slow_zpp); static ZEND_FUNCTION(zend_obj_sdtClass); static ZEND_FUNCTION(zend_obj_sdtClass_or_null); +static ZEND_FUNCTION(zend_str); +static ZEND_FUNCTION(zend_str_or_null); +static ZEND_FUNCTION(zend_str_slow_zpp); +static ZEND_FUNCTION(zend_str_or_null_slow_zpp); static ZEND_FUNCTION(zend_resource); static ZEND_FUNCTION(zend_resource_or_null); static ZEND_FUNCTION(zend_resource_slow_zpp); @@ -712,6 +724,10 @@ static const zend_function_entry ext_functions[] = { ZEND_FE(zend_object_sdtClass_or_null_slow_zpp, arginfo_zend_object_sdtClass_or_null_slow_zpp) ZEND_FE(zend_obj_sdtClass, arginfo_zend_obj_sdtClass) ZEND_FE(zend_obj_sdtClass_or_null, arginfo_zend_obj_sdtClass_or_null) + ZEND_FE(zend_str, arginfo_zend_str) + ZEND_FE(zend_str_or_null, arginfo_zend_str_or_null) + ZEND_FE(zend_str_slow_zpp, arginfo_zend_str_slow_zpp) + ZEND_FE(zend_str_or_null_slow_zpp, arginfo_zend_str_or_null_slow_zpp) ZEND_FE(zend_resource, arginfo_zend_resource) ZEND_FE(zend_resource_or_null, arginfo_zend_resource_or_null) ZEND_FE(zend_resource_slow_zpp, arginfo_zend_resource_slow_zpp) diff --git a/ext/zend_test/test_decl.h b/ext/zend_test/test_decl.h index 494e097fa576..dea873900d4b 100644 --- a/ext/zend_test/test_decl.h +++ b/ext/zend_test/test_decl.h @@ -1,8 +1,8 @@ /* This is a generated file, edit test.stub.php instead. - * Stub hash: 64eb27c89a9a5a378385e5f778cd17cfd67caed8 */ + * Stub hash: 2e17e640c12b6e712f277417114064d76f958c7b */ -#ifndef ZEND_TEST_DECL_64eb27c89a9a5a378385e5f778cd17cfd67caed8_H -#define ZEND_TEST_DECL_64eb27c89a9a5a378385e5f778cd17cfd67caed8_H +#ifndef ZEND_TEST_DECL_2e17e640c12b6e712f277417114064d76f958c7b_H +#define ZEND_TEST_DECL_2e17e640c12b6e712f277417114064d76f958c7b_H typedef enum zend_enum_ZendTestUnitEnum { ZEND_ENUM_ZendTestUnitEnum_Foo = 1, @@ -27,4 +27,4 @@ typedef enum zend_enum_ZendTestEnumWithInterface { ZEND_ENUM_ZendTestEnumWithInterface_Bar = 2, } zend_enum_ZendTestEnumWithInterface; -#endif /* ZEND_TEST_DECL_64eb27c89a9a5a378385e5f778cd17cfd67caed8_H */ +#endif /* ZEND_TEST_DECL_2e17e640c12b6e712f277417114064d76f958c7b_H */ diff --git a/ext/zend_test/test_legacy_arginfo.h b/ext/zend_test/test_legacy_arginfo.h index f941cf44c573..e9f088ba87c7 100644 --- a/ext/zend_test/test_legacy_arginfo.h +++ b/ext/zend_test/test_legacy_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit test.stub.php instead. - * Stub hash: 64eb27c89a9a5a378385e5f778cd17cfd67caed8 + * Stub hash: 2e17e640c12b6e712f277417114064d76f958c7b * Has decl header: yes */ #include "zend_constants.h" @@ -142,6 +142,14 @@ ZEND_END_ARG_INFO() #define arginfo_zend_obj_sdtClass_or_null arginfo_zend_bool +#define arginfo_zend_str arginfo_zend_bool + +#define arginfo_zend_str_or_null arginfo_zend_bool + +#define arginfo_zend_str_slow_zpp arginfo_zend_bool + +#define arginfo_zend_str_or_null_slow_zpp arginfo_zend_bool + #define arginfo_zend_resource arginfo_zend_bool #define arginfo_zend_resource_or_null arginfo_zend_bool @@ -448,6 +456,10 @@ static ZEND_FUNCTION(zend_object_sdtClass_slow_zpp); static ZEND_FUNCTION(zend_object_sdtClass_or_null_slow_zpp); static ZEND_FUNCTION(zend_obj_sdtClass); static ZEND_FUNCTION(zend_obj_sdtClass_or_null); +static ZEND_FUNCTION(zend_str); +static ZEND_FUNCTION(zend_str_or_null); +static ZEND_FUNCTION(zend_str_slow_zpp); +static ZEND_FUNCTION(zend_str_or_null_slow_zpp); static ZEND_FUNCTION(zend_resource); static ZEND_FUNCTION(zend_resource_or_null); static ZEND_FUNCTION(zend_resource_slow_zpp); @@ -608,6 +620,10 @@ static const zend_function_entry ext_functions[] = { ZEND_FE(zend_object_sdtClass_or_null_slow_zpp, arginfo_zend_object_sdtClass_or_null_slow_zpp) ZEND_FE(zend_obj_sdtClass, arginfo_zend_obj_sdtClass) ZEND_FE(zend_obj_sdtClass_or_null, arginfo_zend_obj_sdtClass_or_null) + ZEND_FE(zend_str, arginfo_zend_str) + ZEND_FE(zend_str_or_null, arginfo_zend_str_or_null) + ZEND_FE(zend_str_slow_zpp, arginfo_zend_str_slow_zpp) + ZEND_FE(zend_str_or_null_slow_zpp, arginfo_zend_str_or_null_slow_zpp) ZEND_FE(zend_resource, arginfo_zend_resource) ZEND_FE(zend_resource_or_null, arginfo_zend_resource_or_null) ZEND_FE(zend_resource_slow_zpp, arginfo_zend_resource_slow_zpp)