Home
last modified time | relevance | path

Searched refs:UnitEnum (Results 1 – 9 of 9) sorted by relevance

/PHP-8.4/Zend/tests/enum/
H A Dno-class-implements-unit-enum.phpt2 Class cannot implement UnitEnum
6 class Foo implements UnitEnum {}
10 Fatal error: Non-enum class Foo cannot implement interface UnitEnum in %s on line %d
H A Dinstanceof-unitenum.phpt2 Auto implement UnitEnum interface
12 var_dump(Foo::Bar instanceof UnitEnum);
13 var_dump((new Baz()) instanceof UnitEnum);
H A Dno-enum-implements-unit-enum.phpt2 Enum cannot manually implement UnitEnum
6 enum Foo implements UnitEnum {}
10 Fatal error: Enum Foo cannot implement previously implemented interface UnitEnum in %s on line %d
H A Dinternal_enums.phpt10 var_dump($bar instanceof UnitEnum);
/PHP-8.4/Zend/
H A Dzend_enum.stub.php5 interface UnitEnum interface
10 interface BackedEnum extends UnitEnum
/PHP-8.4/ext/reflection/tests/
H A DReflectionEnum_toString.phpt14 Class [ <user> final class Foo implements UnitEnum ] {
25 Method [ <internal, prototype UnitEnum> static public method cases ] {
H A DReflectionEnumUnitCase_getEnum.phpt14 Class [ <user> final class Foo implements UnitEnum ] {
25 Method [ <internal, prototype UnitEnum> static public method cases ] {
/PHP-8.4/ext/reflection/
H A Dphp_reflection.stub.php879 public function getValue(): UnitEnum {}
H A Dphp_reflection_arginfo.h671 …BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ReflectionEnumUnitCase_getValue, 0, 0, UnitEnum, 0)

Completed in 26 milliseconds