/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_getProperty_002.phpt | 2 ReflectionClass::getProperty() - error cases 15 var_dump($rc->getProperty()); 20 var_dump($rc->getProperty("a", "a")); 25 var_dump($rc->getProperty(null)); 30 var_dump($rc->getProperty(1)); 35 var_dump($rc->getProperty(1.5)); 40 var_dump($rc->getProperty(true)); 45 var_dump($rc->getProperty(array(1,2,3))); 50 var_dump($rc->getProperty(new C)); 57 ReflectionClass::getProperty() expects exactly 1 argument, 0 given [all …]
|
H A D | bug45139.phpt | 23 $rp = $rc->getProperty('foo'); 27 $rp = $rc->getProperty('foo'); 31 $rp = $rc->getProperty('bar'); 35 $rp = $rc->getProperty('bar'); 39 $rp = $rc->getProperty('baz'); 43 $rp = $rc->getProperty('baz'); 47 $rp = $rc->getProperty('quux');
|
H A D | bug39067.phpt | 19 var_dump($rc->getProperty('x')->getDeclaringClass()->getName()); 22 var_dump($rc->getProperty('x')->getDeclaringClass()->getName()); 25 var_dump($rc->getProperty('x')->getDeclaringClass()->getName()); 36 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
|
H A D | bug53366.phpt | 2 Bug #53366 (Reflection doesn't get dynamic property value from getProperty()) 15 var_dump($reflect->getProperty('id')); 16 var_dump($reflect->getProperty('id')->getValue($myClass));
|
H A D | bug79062.phpt | 21 $s1 = $ref->getProperty('s1'); 24 $s2 = $ref->getProperty('s2'); 27 $s3 = $ref->getProperty('s3');
|
H A D | bug39001.phpt | 19 var_dump($r->getProperty('publicVar')->getDeclaringClass()->getName()); 20 var_dump($r->getProperty('protectedVar')->getDeclaringClass()->getName());
|
H A D | bug78774.phpt | 12 $rp = $rc->getProperty('prop'); 14 $rp2 = $rc->getProperty('prop2');
|
H A D | ReflectionParameter_isDefault.phpt | 19 var_dump($ro->getProperty('defprop')->isDefault()); 20 var_dump($ro->getProperty('myprop')->isDefault());
|
H A D | bug49719.phpt | 20 var_dump($ref->getProperty('a')); 34 $prop = $b2->getProperty('a');
|
/php-src/tests/classes/ |
H A D | autoload_016.phpt | 2 Ensure ReflectionClass::getProperty() triggers autoload 13 $rc->getProperty("UndefC::p");
|
/php-src/Zend/tests/lazy_objects/rfc/ |
H A D | rfc_example_004.phpt | 34 $reflector->getProperty('id')->skipLazyInitialization($post); 35 $reflector->getProperty('id')->setValue($post, 123); 38 $reflector->getProperty('id')->setRawValueWithoutLazyInitialization($post, 123);
|
H A D | rfc_example_005.phpt | 33 $reflector->getProperty('id')->skipLazyInitialization($post); 34 $reflector->getProperty('id')->setValue($post, 123); 37 $reflector->getProperty('id')->setRawValueWithoutLazyInitialization($post, 123);
|
H A D | rfc_example_011.phpt | 36 $reflector->getProperty('name')->setValue($entity, $data['name']); 37 $reflector->getProperty('email')->setValue($entity, $data['email']); 41 $reflector->getProperty('id')->setRawValueWithoutLazyInitialization($entity, $id);
|
/php-src/Zend/tests/lazy_objects/ |
H A D | write_skipped_no_initialize.phpt | 20 $reflector->getProperty('a')->skipLazyInitialization($obj); 21 $reflector->getProperty('b')->skipLazyInitialization($obj); 22 $reflector->getProperty('c')->skipLazyInitialization($obj);
|
H A D | unset_skipped_no_initialize.phpt | 22 $reflector->getProperty('a')->skipLazyInitialization($obj); 23 $reflector->getProperty('b')->skipLazyInitialization($obj); 24 $reflector->getProperty('c')->skipLazyInitialization($obj);
|
H A D | realize.phpt | 32 $reflector->getProperty('a')->setRawValueWithoutLazyInitialization($obj, 'a1'); 36 $reflector->getProperty('a')->setRawValueWithoutLazyInitialization($obj, 'a2'); 41 $reflector->getProperty('a')->setRawValueWithoutLazyInitialization($obj, new stdClass); 47 //$reflector->getProperty('b')->setRawValueWithoutLazyInitialization($obj, 'dynamic B');
|
H A D | realize_skipped.phpt | 32 $reflector->getProperty('a')->skipLazyInitialization($obj); 36 $reflector->getProperty('a')->skipLazyInitialization($obj); 41 $reflector->getProperty('xxx')->skipLazyInitialization($obj); 48 $reflector->getProperty('b')->skipLazyInitialization($obj);
|
H A D | fetch_skipped_prop_does_not_initialize.phpt | 22 $reflector->getProperty('a')->skipLazyInitialization($obj); 23 $reflector->getProperty('b')->skipLazyInitialization($obj); 24 $reflector->getProperty('c')->skipLazyInitialization($obj);
|
H A D | fetch_op_skipped_prop_does_not_initialize.phpt | 20 $reflector->getProperty('a')->skipLazyInitialization($obj); 21 $reflector->getProperty('b')->skipLazyInitialization($obj); 22 $reflector->getProperty('c')->skipLazyInitialization($obj);
|
H A D | skipLazyInitialization_realize.phpt | 15 $reflector->getProperty('a')->skipLazyInitialization($obj); 16 $reflector->getProperty('b')->skipLazyInitialization($obj);
|
H A D | skipLazyInitialization_skips_non_lazy_prop.phpt | 15 $reflector->getProperty('a')->skipLazyInitialization($obj); 19 $reflector->getProperty('a')->skipLazyInitialization($obj);
|
H A D | setRawValueWithoutLazyInitialization_realize.phpt | 15 $reflector->getProperty('a')->setRawValueWithoutLazyInitialization($obj, 'test'); 16 $reflector->getProperty('b')->setRawValueWithoutLazyInitialization($obj, 'test');
|
H A D | gc_005.phpt | 27 $reflector->getProperty('value')->setRawValueWithoutLazyInitialization($obj, $obj); 48 $reflector->getProperty('value')->setRawValueWithoutLazyInitialization($obj, $obj);
|
/php-src/ext/reflection/tests/types/ |
H A D | mixed_type.phpt | 17 var_dump($object->getProperty("a")->getType()->getName()); 21 var_dump((string) $object->getProperty("a")->getType());
|
/php-src/Zend/tests/attributes/ |
H A D | 011_inheritance.phpt | 57 print_r(array_map(fn ($a) => $a->getName(), $ref->getProperty('a')->getAttributes())); 60 print_r(array_map(fn ($a) => $a->getName(), $ref->getProperty('a')->getAttributes())); 63 print_r(array_map(fn ($a) => $a->getName(), $ref->getProperty('a')->getAttributes()));
|