/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_getReflectionConstants_filter.phpt | 27 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 D | ReflectionClassConstant_isEnumCase.phpt | 2 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 D | ReflectionClassConstant_unset_name.phpt | 2 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 D | ReflectionClassConstant_isDeprecated_userland.phpt | 2 ReflectionClassConstant::isDeprecated() with userland constants. 12 $r = new ReflectionClassConstant('Clazz', 'TEST');
|
H A D | ReflectionClassConstant_toString_error.phpt | 2 Exception thrown while converting ReflectionClassConstant to string 11 echo new ReflectionClassConstant('B', 'X');
|
H A D | ReflectionClass_getConstants_filter.phpt | 27 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 D | bug77325.phpt | 2 Bug #77325: ReflectionClassConstant::$class returns wrong class when extending 20 $constant = new ReflectionClassConstant(Bar::class, 'FOO');
|
H A D | ReflectionEnumUnitCase_getDocComment.phpt | 15 var_dump((new ReflectionClassConstant(Foo::class, 'Bar'))->getDocComment()); 16 var_dump((new ReflectionClassConstant(Foo::class, 'Baz'))->getDocComment());
|
H A D | ReflectionClassConstant_getValue.phpt | 20 var_dump((new ReflectionClassConstant('A', 'X'))->getValue()); 21 echo new ReflectionClassConstant('B', 'X');
|
H A D | ReflectionClassConstant_getValue_typed.phpt | 16 $rc = new ReflectionClassConstant(A::class, 'CONST1'); 20 $rc = new ReflectionClassConstant(B::class, 'CONST1');
|
H A D | ReflectionFunction_isDeprecated_userland.phpt | 2 ReflectionClassConstant::isDeprecated() with userland functions.
|
H A D | ReflectionExtension_getClasses_basic.phpt | 87 ["ReflectionClassConstant"]=> 90 string(23) "ReflectionClassConstant"
|
H A D | ReflectionClassConstant_basic1.phpt | 2 Test usage of ReflectionClassConstant methods __toString(), getName(), getValue(), isPublic(), isPr… 7 $constInfo = new ReflectionClassConstant($base, $constant); 221 #0 %s(%d): ReflectionClassConstant->__construct(Object(TestClass), 'BAD_CONST')
|
/php-src/ext/zend_test/tests/ |
H A D | class_constant_deprecated.phpt | 2 ReflectionClassConstant::isDeprecated() 8 $r = new ReflectionClassConstant('_ZendTestClass', 'ZEND_TEST_DEPRECATED'); 11 $r = new ReflectionClassConstant('_ZendTestClass', 'TYPED_CLASS_CONST2');
|
H A D | gh14109.phpt | 8 foreach ((new ReflectionClassConstant(Test::class, 'TEST_CONST'))->getAttributes() as $attribute) {
|
H A D | gen_stub_test_03.phpt | 8 $reflectionConstant = new ReflectionClassConstant(ZendAttributeTest::class, "TEST_CONST");
|
H A D | doc_comment_internal_symbols1.phpt | 12 $rc = new ReflectionClassConstant(_ZendTestInterface::class, "DUMMY");
|
H A D | attribute-deprecated.phpt | 16 $reflection = new ReflectionClassConstant('_ZendTestClass', 'ZEND_TEST_DEPRECATED_ATTR');
|
H A D | doc_comment_internal_symbols2.phpt | 12 $rc = new ReflectionClassConstant(_ZendTestInterface::class, "DUMMY");
|
/php-src/Zend/tests/attributes/ |
H A D | 014_class_const_group.phpt | 14 $rp1 = new ReflectionClassConstant('C', 'A'); 17 $rp2 = new ReflectionClassConstant('C', 'B');
|
H A D | 001_placement.phpt | 64 string(23) "ReflectionClassConstant"
|
/php-src/ext/reflection/ |
H A D | php_reflection_arginfo.h | 889 ZEND_METHOD(ReflectionClassConstant, __construct); 890 ZEND_METHOD(ReflectionClassConstant, __toString); 891 ZEND_METHOD(ReflectionClassConstant, getName); 892 ZEND_METHOD(ReflectionClassConstant, getValue); 893 ZEND_METHOD(ReflectionClassConstant, isPublic); 894 ZEND_METHOD(ReflectionClassConstant, isPrivate); 895 ZEND_METHOD(ReflectionClassConstant, isProtected); 896 ZEND_METHOD(ReflectionClassConstant, isFinal); 901 ZEND_METHOD(ReflectionClassConstant, isEnumCase); 903 ZEND_METHOD(ReflectionClassConstant, hasType); [all …]
|
H A D | php_reflection.stub.php | 325 public function getReflectionConstant(string $name): ReflectionClassConstant|false {} 573 class ReflectionClassConstant implements Reflector class 866 class ReflectionEnumUnitCase extends ReflectionClassConstant
|
H A D | php_reflection.c | 3712 ZEND_METHOD(ReflectionClassConstant, __construct) in ZEND_METHOD() argument 3753 ZEND_METHOD(ReflectionClassConstant, __toString) in ZEND_METHOD() argument 3779 ZEND_METHOD(ReflectionClassConstant, getName) in ZEND_METHOD() argument 3796 ZEND_METHOD(ReflectionClassConstant, getType) in ZEND_METHOD() argument 3813 ZEND_METHOD(ReflectionClassConstant, hasType) in ZEND_METHOD() argument 3836 ZEND_METHOD(ReflectionClassConstant, isPublic) in ZEND_METHOD() argument 3843 ZEND_METHOD(ReflectionClassConstant, isPrivate) in ZEND_METHOD() argument 3850 ZEND_METHOD(ReflectionClassConstant, isProtected) in ZEND_METHOD() argument 3857 ZEND_METHOD(ReflectionClassConstant, isFinal) in ZEND_METHOD() argument 3877 ZEND_METHOD(ReflectionClassConstant, getValue) in ZEND_METHOD() argument [all …]
|
/php-src/Zend/tests/enum/ |
H A D | case-attributes.phpt | 18 var_dump((new \ReflectionClassConstant(Foo::class, 'Bar'))->getAttributes(EnumCaseAttribute::class)…
|