Searched refs:ReflectionEnum (Results 1 – 15 of 15) sorted by relevance
/php-src/ext/reflection/tests/ |
H A D | ReflectionEnum_construct.phpt | 2 ReflectionEnum::__construct() 9 echo (new ReflectionEnum(Foo::class))->getName() . "\n"; 12 new ReflectionEnum('Bar'); 18 new ReflectionEnum('Baz'); 24 new ReflectionEnum([]); 34 ReflectionEnum::__construct(): Argument #1 ($objectOrClass) must be of type object|string, array gi…
|
H A D | ReflectionEnum_getBackingType.phpt | 2 ReflectionEnum::getBackingType() 12 var_dump((new ReflectionEnum(Enum_::class))->getBackingType()); 13 echo (new ReflectionEnum(IntEnum::class))->getBackingType() . "\n"; 14 echo (new ReflectionEnum(StringEnum::class))->getBackingType() . "\n";
|
H A D | ReflectionEnum_isBacked.phpt | 2 ReflectionEnum::isBacked() 12 var_dump((new ReflectionEnum(Enum_::class))->isBacked()); 13 var_dump((new ReflectionEnum(IntEnum::class))->isBacked()); 14 var_dump((new ReflectionEnum(StringEnum::class))->isBacked());
|
H A D | bug81457.phpt | 13 $re = new ReflectionEnum(testEnum::class); 25 ReflectionEnum 26 ReflectionEnum
|
H A D | ReflectionEnum_getCases.phpt | 2 ReflectionEnum::getCases() 18 var_dump((new ReflectionEnum(Enum_::class))->getCases()); 19 var_dump((new ReflectionEnum(IntEnum::class))->getCases());
|
H A D | bug81681.phpt | 2 Bug #81681 (ReflectionEnum throwing exceptions) 12 $reflectionEnum = new \ReflectionEnum('\Status');
|
H A D | ReflectionEnum_hasCase.phpt | 2 ReflectionEnum::hasCase() 11 $reflectionEnum = new ReflectionEnum(Foo::class);
|
H A D | ReflectionEnum_toString.phpt | 2 ReflectionEnum::__toString() 10 echo new ReflectionEnum(Foo::class);
|
H A D | ReflectionExtension_getClasses_basic.phpt | 112 ["ReflectionEnum"]=> 115 string(14) "ReflectionEnum" 138 object(ReflectionEnum)#%d (1) {
|
H A D | ReflectionEnum_getCase.phpt | 2 ReflectionEnum::getCases() 18 $reflectionEnum = new ReflectionEnum($enumName);
|
/php-src/Zend/tests/enum/ |
H A D | backed-tryFrom-casing.phpt | 8 $reflectionEnum = new ReflectionEnum(Foo::class);
|
/php-src/ext/opcache/tests/ |
H A D | gh10914.phpt | 16 $x = new ReflectionEnum(ExampleEnum::class);
|
/php-src/ext/reflection/ |
H A D | php_reflection_arginfo.h | 964 ZEND_METHOD(ReflectionEnum, __construct); 965 ZEND_METHOD(ReflectionEnum, hasCase); 966 ZEND_METHOD(ReflectionEnum, getCase); 967 ZEND_METHOD(ReflectionEnum, getCases); 968 ZEND_METHOD(ReflectionEnum, isBacked); 969 ZEND_METHOD(ReflectionEnum, getBackingType); 1315 ZEND_ME(ReflectionEnum, __construct, arginfo_class_ReflectionEnum___construct, ZEND_ACC_PUBLIC) 1316 ZEND_ME(ReflectionEnum, hasCase, arginfo_class_ReflectionEnum_hasCase, ZEND_ACC_PUBLIC) 1317 ZEND_ME(ReflectionEnum, getCase, arginfo_class_ReflectionEnum_getCase, ZEND_ACC_PUBLIC) 1318 ZEND_ME(ReflectionEnum, getCases, arginfo_class_ReflectionEnum_getCases, ZEND_ACC_PUBLIC) [all …]
|
H A D | php_reflection.stub.php | 851 class ReflectionEnum extends ReflectionClass class 870 public function getEnum(): ReflectionEnum {}
|
H A D | php_reflection.c | 7147 ZEND_METHOD(ReflectionEnum, __construct) in ZEND_METHOD() argument 7164 ZEND_METHOD(ReflectionEnum, hasCase) in ZEND_METHOD() argument 7184 ZEND_METHOD(ReflectionEnum, getCase) in ZEND_METHOD() argument 7209 ZEND_METHOD(ReflectionEnum, getCases) in ZEND_METHOD() argument 7230 ZEND_METHOD(ReflectionEnum, isBacked) in ZEND_METHOD() argument 7241 ZEND_METHOD(ReflectionEnum, getBackingType) in ZEND_METHOD() argument
|
Completed in 50 milliseconds