Home
last modified time | relevance | path

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

/php-src/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-src/Zend/
H A Dzend_enum.stub.php10 interface BackedEnum extends UnitEnum interface
/php-src/ext/soap/tests/
H A Dgh15711.phpt2 GH-15711 (SoapClient can't convert BackedEnum to scalar value)

Completed in 15 milliseconds