Home
last modified time | relevance | path

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

12

/PHP-8.2/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())
15 var_dump($reflect->getProperty('id'));
16 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.phpt19 var_dump($ro->getProperty('defprop')->isDefault());
20 var_dump($ro->getProperty('myprop')->isDefault());
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.phpt15 var_dump($p->getProperty('test'));
32 var_dump($h = $p->getProperty('a'));
H A Dconstructor_promotion.phpt19 $y = $rc->getProperty('y');
22 $z = $rc->getProperty('z');
H A Dbug80821.phpt13 $prop = $reflect->getProperty("staticVar");
H A Dbug80370.phpt14 $reflectionProperty = $reflectionObject->getProperty('bar');
H A Dbug79683.phpt24 $property = $reflector->getProperty('prop2');
H A Dbug81208.phpt18 foreach ($z->getProperty("property")->getAttributes() as $attribute) {
/PHP-8.2/tests/classes/
H A Dautoload_016.phpt2 Ensure ReflectionClass::getProperty() triggers autoload
13 $rc->getProperty("UndefC::p");
/PHP-8.2/ext/reflection/tests/types/
H A Dmixed_type.phpt17 var_dump($object->getProperty("a")->getType()->getName());
21 var_dump((string) $object->getProperty("a")->getType());
H A Dintersection_types.phpt25 $rp = $rc->getProperty('prop');
37 $rp = $rc->getProperty('prop');
H A Ddnf_types_with_null.phpt29 $rp = $rc->getProperty('prop');
41 $rp = $rc->getProperty('prop');
/PHP-8.2/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()));
/PHP-8.2/Zend/tests/function_arguments/
H A Dsensitive_parameter_value_reflection.phpt9 $p = $r->getProperty('value');
/PHP-8.2/Zend/tests/type_declarations/
H A Dtyped_properties_018.phpt12 $prop = $reflector->getProperty("qux");
/PHP-8.2/ext/zend_test/tests/
H A Dattribute-promotion-parameter-only.phpt22 $attr = $ref->getProperty('param')->getAttributes();
H A Dattribute-promotion-property-only.phpt20 $attr = $ref->getProperty('param')->getAttributes();

Completed in 16 milliseconds

12