Home
last modified time | relevance | path

Searched refs:Enum_ (Results 1 – 6 of 6) sorted by relevance

/php-src/ext/reflection/tests/
H A DReflectionEnum_getCase.phpt6 enum Enum_ {
25 test(Enum_::class, 'Foo');
26 test(Enum_::class, 'Bar');
27 test(Enum_::class, 'Baz');
39 string(5) "Enum_"
41 ReflectionException: Enum_::Bar is not a case
42 ReflectionException: Case Enum_::Baz does not exist
H A DReflectionEnum_getCases.phpt6 enum Enum_ {
18 var_dump((new ReflectionEnum(Enum_::class))->getCases());
29 string(5) "Enum_"
36 string(5) "Enum_"
H A DReflectionEnumBackedCase_getBackingValue.phpt6 enum Enum_ {
19 var_dump(new ReflectionEnumBackedCase(Enum_::class, 'Foo'));
35 Enum case Enum_::Foo is not a backed case
H A DReflectionEnum_getBackingType.phpt6 enum Enum_ {}
12 var_dump((new ReflectionEnum(Enum_::class))->getBackingType());
H A DReflectionEnum_isBacked.phpt6 enum Enum_ {}
12 var_dump((new ReflectionEnum(Enum_::class))->isBacked());
/php-src/build/
H A Dgen_stub.php13 use PhpParser\Node\Stmt\Enum_; alias
4724 } else if ($class instanceof Enum_) {
4742 $class instanceof Enum_ && $class->scalarType !== null

Completed in 36 milliseconds