Home
last modified time | relevance | path

Searched refs:getProperty (Results 1 – 25 of 32) sorted by relevance

12

/PHP-8.1/ext/reflection/tests/
H A DReflectionClass_getProperty_002.phpt2 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 Dbug45139.phpt23 $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 Dbug39067.phpt19 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 Dbug53366.phpt2 Bug #53366 (Reflection doesn't get dynamic property value from getProperty())
14 var_dump($reflect->getProperty('id'));
15 var_dump($reflect->getProperty('id')->getValue($myClass));
H A Dbug79062.phpt21 $s1 = $ref->getProperty('s1');
24 $s2 = $ref->getProperty('s2');
27 $s3 = $ref->getProperty('s3');
H A Dbug39001.phpt19 var_dump($r->getProperty('publicVar')->getDeclaringClass()->getName());
20 var_dump($r->getProperty('protectedVar')->getDeclaringClass()->getName());
H A Dbug78774.phpt12 $rp = $rc->getProperty('prop');
14 $rp2 = $rc->getProperty('prop2');
H A DReflectionParameter_isDefault.phpt18 var_dump($ro->getProperty('defprop')->isDefault());
19 var_dump($ro->getProperty('myprop')->isDefault());
H A Dmixed_type.phpt17 var_dump($object->getProperty("a")->getType()->getName());
21 var_dump((string) $object->getProperty("a")->getType());
H A Dbug49719.phpt20 var_dump($ref->getProperty('a'));
34 $prop = $b2->getProperty('a');
H A DReflectionClass_getProperty_001.phpt2 ReflectionClass::getProperty()
36 var_dump($rc->getProperty("s"));
42 var_dump($rc->getProperty("a"));
48 var_dump($rc->getProperty("A"));
54 var_dump($rc->getProperty("doesNotExist"));
H A Dbug46064_2.phpt14 var_dump($p->getProperty('test'));
30 var_dump($h = $p->getProperty('a'));
H A Dconstructor_promotion.phpt19 $y = $rc->getProperty('y');
22 $z = $rc->getProperty('z');
H A Dunion_types.phpt27 $rp = $rc->getProperty('prop');
36 $rp = $rc->getProperty('prop');
42 $rp = $rc->getProperty('prop');
H A Dbug80370.phpt13 $reflectionProperty = $reflectionObject->getProperty('bar');
H A Dbug80821.phpt13 $prop = $reflect->getProperty("staticVar");
H A Dbug79683.phpt24 $property = $reflector->getProperty('prop2');
H A Dintersection_types.phpt25 $rp = $rc->getProperty('prop');
37 $rp = $rc->getProperty('prop');
H A Dbug81208.phpt18 foreach ($z->getProperty("property")->getAttributes() as $attribute) {
H A D001.phpt38 'UMLClass::getProperty',
/PHP-8.1/tests/classes/
H A Dautoload_016.phpt2 Ensure ReflectionClass::getProperty() triggers autoload
13 $rc->getProperty("UndefC::p");
/PHP-8.1/Zend/tests/attributes/
H A D011_inheritance.phpt57 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()));
H A D001_placement.phpt33 $ref->getProperty('x'),
/PHP-8.1/Zend/tests/type_declarations/
H A Dtyped_properties_018.phpt12 $prop = $reflector->getProperty("qux");
/PHP-8.1/Zend/tests/
H A Dbug78921.phpt29 $reflectionProperty = $reflectionClass->getProperty('prop');

Completed in 21 milliseconds

12