Home
last modified time | relevance | path

Searched refs:BackedEnum (Results 1 – 17 of 17) sorted by relevance

/PHP-8.3/Zend/tests/enum/
H A Dno-class-implements-backed-enum.phpt2 Class cannot implement BackedEnum
6 class Foo implements BackedEnum {}
10 Fatal error: Non-enum class Foo cannot implement interface BackedEnum in %s on line %d
H A Dno-enum-implements-backed-enum.phpt2 Enum cannot manually implement BackedEnum
6 enum Foo: int implements BackedEnum {}
10 Fatal error: Enum Foo cannot implement previously implemented interface BackedEnum in %s on line %d
H A Dno-non-backed-enum-implements-backed-enum.phpt2 Non-backed enum cannot implement BackedEnum
6 enum Foo implements BackedEnum {}
10 Fatal error: Non-backed enum Foo cannot implement interface BackedEnum in %s on line %d
H A Dinstanceof-backed-enum.phpt2 Auto implement BackedEnum interface
14 var_dump(Foo::Bar instanceof BackedEnum);
15 var_dump(Baz::Qux instanceof BackedEnum);
H A Dbacked-from-unknown-hash.phpt2 BackedEnum::from() unknown hash
H A Dbacked-tryFrom-unknown-hash.phpt2 BackedEnum::tryFrom() unknown hash
H A Dbacked-tryFrom-casing.phpt2 BackedEnum::tryFrom() casing in reflection
H A Dbacked-from-invalid-int.phpt2 BackedEnum::from() reject invalid int
H A Dbacked-from-invalid-string.phpt2 BackedEnum::from() reject invalid string
H A Dbacked-from-invalid-type.phpt2 BackedEnum::from() reject invalid type
H A Dbacked-from.phpt2 BackedEnum::from()
H A Dbacked-tryFrom.phpt2 BackedEnum::tryFrom()
H A Dinternal_enums.phpt19 var_dump($foo instanceof BackedEnum);
/PHP-8.3/Zend/
H A Dzend_enum_arginfo.h25 …ZEND_ABSTRACT_ME_WITH_FLAGS(BackedEnum, from, arginfo_class_BackedEnum_from, ZEND_ACC_PUBLIC|ZEND_…
26 …ZEND_ABSTRACT_ME_WITH_FLAGS(BackedEnum, tryFrom, arginfo_class_BackedEnum_tryFrom, ZEND_ACC_PUBLIC…
H A Dzend_enum.stub.php10 interface BackedEnum extends UnitEnum interface
/PHP-8.3/ext/soap/tests/
H A Dgh15711.phpt2 GH-15711 (SoapClient can't convert BackedEnum to scalar value)
/PHP-8.3/
H A DNEWS310 . Fixed bug GH-15711 (SoapClient can't convert BackedEnum to scalar value).

Completed in 73 milliseconds