Home
last modified time | relevance | path

Searched refs:setValue (Results 1 – 10 of 10) sorted by relevance

/PHP-7.2/ext/reflection/tests/
H A DReflectionProperty_setValue_error.phpt2 Test ReflectionProperty::setValue() error cases.
22 var_dump($propInfo->setValue());
23 var_dump($propInfo->setValue($instance));
26 var_dump($propInfo->setValue($instance, "NewValue", true));
29 var_dump($propInfo->setValue(true, "NewValue"));
33 var_dump($propInfo->setValue($instance, "NewValue", true));
36 var_dump($propInfo->setValue("A new value"));
38 var_dump($propInfo->setValue());
42 var_dump($propInfo->setValue(true, "Another new value"));
48 var_dump($propInfo->setValue($instance, "NewValue"));
[all …]
H A DReflectionProperty_setAccessible.phpt62 $protected->setValue($a, 'e');
63 $protectedStatic->setValue('f');
64 $private->setValue($a, 'g');
65 $privateStatic->setValue('h');
110 $protected->setValue($b, 'e');
111 $protectedStatic->setValue('f');
112 $private->setValue($b, 'g');
H A Dbug71018.phpt2 Bug #71018 (ReflectionProperty::setValue() behavior changed)
26 $Prop1->setValue(\T1::class, "world");
27 $Prop2->setValue(\T2::class, 'hello');
H A Dbug30146.phpt12 $r->setValue(NULL, 2);
15 $r->setValue(3);
H A DReflectionProperty_basic1.phpt2 …export(), getName(), isPublic(), isPrivate(), isProtected(), isStatic(), getValue() and setValue().
30 $propInfo->setValue($instance, "NewValue");
31 echo "getValue() after a setValue():\n";
76 getValue() after a setValue():
105 getValue() after a setValue():
/PHP-7.2/Zend/tests/
H A Dbug39944.phpt12 function setValue(&$int, $iNewValue) {
16 setValue(getValue(), 10);
21 setValue(getValue(), 10);
H A Dbug72177.phpt2 Bug #72177 Scope issue in __destruct after ReflectionProperty::setValue()
25 $prop->setValue($this, null);
H A Dbug63762.phpt11 $ref->setValue($e, array(NULL));
16 $ref->setValue($e, array(array()));
20 $ref->setValue($e, array(array(
H A Dbug72177_2.phpt2 Bug #72177 Scope issue in __destruct after ReflectionProperty::setValue()
/PHP-7.2/ext/reflection/
H A Dphp_reflection.c5571 ZEND_METHOD(reflection_property, setValue) in ZEND_METHOD() argument
6562 ZEND_ME(reflection_property, setValue, arginfo_reflection_property_setValue, 0)

Completed in 25 milliseconds