Home
last modified time | relevance | path

Searched refs:ReflectionClassConstant (Results 1 – 17 of 17) sorted by relevance

/PHP-8.2/ext/reflection/tests/
H A DReflectionClass_getReflectionConstants_filter.phpt27 var_dump($reflectionClassA->getReflectionConstants(ReflectionClassConstant::IS_PUBLIC));
30 var_dump($reflectionClassB->getReflectionConstants(ReflectionClassConstant::IS_PROTECTED));
33 var_dump($reflectionClassC->getReflectionConstants(ReflectionClassConstant::IS_PRIVATE));
38 object(ReflectionClassConstant)#%d (%d) {
45 object(ReflectionClassConstant)#%d (%d) {
54 object(ReflectionClassConstant)#%d (%d) {
61 object(ReflectionClassConstant)#%d (%d) {
70 object(ReflectionClassConstant)#%d (%d) {
77 object(ReflectionClassConstant)#%d (%d) {
H A DReflectionClassConstant_isEnumCase.phpt2 ReflectionClassConstant::isEnumCase()
15 var_dump((new ReflectionClassConstant(Foo::class, 'Bar'))->isEnumCase());
16 var_dump((new ReflectionClassConstant(Foo::class, 'Baz'))->isEnumCase());
17 var_dump((new ReflectionClassConstant(Qux::class, 'Quux'))->isEnumCase());
H A DReflectionClassConstant_unset_name.phpt2 Unsetting name on ReflectionClassConstant
12 $rc = new ReflectionClassConstant(Test::class, 'C');
27 Typed property ReflectionClassConstant::$name must not be accessed before initialization
28 Typed property ReflectionClassConstant::$name must not be accessed before initialization
H A DReflectionClassConstant_toString_error.phpt2 Exception thrown while converting ReflectionClassConstant to string
11 echo new ReflectionClassConstant('B', 'X');
H A DReflectionClass_getConstants_filter.phpt27 var_dump($reflectionClassA->getConstants(ReflectionClassConstant::IS_PUBLIC));
30 var_dump($reflectionClassB->getConstants(ReflectionClassConstant::IS_PROTECTED));
33 var_dump($reflectionClassC->getConstants(ReflectionClassConstant::IS_PRIVATE));
H A Dbug77325.phpt2 Bug #77325: ReflectionClassConstant::$class returns wrong class when extending
20 $constant = new ReflectionClassConstant(Bar::class, 'FOO');
H A DReflectionEnumUnitCase_getDocComment.phpt15 var_dump((new ReflectionClassConstant(Foo::class, 'Bar'))->getDocComment());
16 var_dump((new ReflectionClassConstant(Foo::class, 'Baz'))->getDocComment());
H A DReflectionClassConstant_getValue.phpt20 var_dump((new ReflectionClassConstant('A', 'X'))->getValue());
21 echo new ReflectionClassConstant('B', 'X');
H A DReflectionExtension_getClasses_basic.phpt87 ["ReflectionClassConstant"]=>
90 string(23) "ReflectionClassConstant"
H A DReflectionClassConstant_basic1.phpt2 Test usage of ReflectionClassConstant methods __toString(), getName(), getValue(), isPublic(), isPr…
7 $constInfo = new ReflectionClassConstant($base, $constant);
200 #0 %s(%d): ReflectionClassConstant->__construct(Object(TestClass), 'BAD_CONST')
H A DReflectionClass_toString_001.phpt215 - Tentative return [ ReflectionClassConstant|false ]
/PHP-8.2/Zend/tests/attributes/
H A D014_class_const_group.phpt14 $rp1 = new ReflectionClassConstant('C', 'A');
17 $rp2 = new ReflectionClassConstant('C', 'B');
H A D001_placement.phpt64 string(23) "ReflectionClassConstant"
/PHP-8.2/ext/reflection/
H A Dphp_reflection_arginfo.h751 ZEND_METHOD(ReflectionClassConstant, __construct);
752 ZEND_METHOD(ReflectionClassConstant, __toString);
753 ZEND_METHOD(ReflectionClassConstant, getName);
754 ZEND_METHOD(ReflectionClassConstant, getValue);
755 ZEND_METHOD(ReflectionClassConstant, isPublic);
756 ZEND_METHOD(ReflectionClassConstant, isPrivate);
757 ZEND_METHOD(ReflectionClassConstant, isProtected);
758 ZEND_METHOD(ReflectionClassConstant, isFinal);
759 ZEND_METHOD(ReflectionClassConstant, getModifiers);
761 ZEND_METHOD(ReflectionClassConstant, getDocComment);
[all …]
H A Dphp_reflection.stub.php352 public function getReflectionConstant(string $name): ReflectionClassConstant|false {}
550 class ReflectionClassConstant implements Reflector class
850 class ReflectionEnumUnitCase extends ReflectionClassConstant
H A Dphp_reflection.c3793 ZEND_METHOD(ReflectionClassConstant, __construct) in ZEND_METHOD() argument
3834 ZEND_METHOD(ReflectionClassConstant, __toString) in ZEND_METHOD() argument
3862 ZEND_METHOD(ReflectionClassConstant, getName) in ZEND_METHOD() argument
3894 ZEND_METHOD(ReflectionClassConstant, isPublic) in ZEND_METHOD() argument
3901 ZEND_METHOD(ReflectionClassConstant, isPrivate) in ZEND_METHOD() argument
3908 ZEND_METHOD(ReflectionClassConstant, isProtected) in ZEND_METHOD() argument
3915 ZEND_METHOD(ReflectionClassConstant, isFinal) in ZEND_METHOD() argument
3921 ZEND_METHOD(ReflectionClassConstant, getModifiers) in ZEND_METHOD() argument
3937 ZEND_METHOD(ReflectionClassConstant, getValue) in ZEND_METHOD() argument
3970 ZEND_METHOD(ReflectionClassConstant, getDocComment) in ZEND_METHOD() argument
[all …]
/PHP-8.2/Zend/tests/enum/
H A Dcase-attributes.phpt18 var_dump((new \ReflectionClassConstant(Foo::class, 'Bar'))->getAttributes(EnumCaseAttribute::class)…

Completed in 50 milliseconds