Home
last modified time | relevance | path

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

/PHP-8.1/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: Class Foo cannot implement previously implemented interface UnitEnum in %s on line %d
H A Dinternal_enums.phpt10 var_dump($bar instanceof UnitEnum);
/PHP-8.1/Zend/
H A Dzend_enum.stub.php5 interface UnitEnum interface
10 interface BackedEnum extends UnitEnum
H A Dzend_enum_arginfo.h19 …ZEND_ABSTRACT_ME_WITH_FLAGS(UnitEnum, cases, arginfo_class_UnitEnum_cases, ZEND_ACC_PUBLIC|ZEND_AC…
/PHP-8.1/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.1/ext/reflection/
H A Dphp_reflection.stub.php742 public function getValue(): UnitEnum {}
H A Dphp_reflection_arginfo.h574 …BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ReflectionEnumUnitCase_getValue, 0, 0, UnitEnum, 0)

Completed in 17 milliseconds