Home
last modified time | relevance | path

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

/PHP-7.0/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 Dbug30146.phpt12 $r->setValue(NULL, 2);
15 $r->setValue(3);
H A Dbug71018.phpt2 Bug #71018 (ReflectionProperty::setValue() behavior changed)
26 $Prop1->setValue(\T1::class, "world");
27 $Prop2->setValue(\T2::class, 'hello');
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.0/Zend/tests/
H A Dbug39944.phpt12 function setValue(&$int, $iNewValue) {
16 setValue(getValue(), 10);
21 setValue(getValue(), 10);
H A Dbug63762.phpt11 $ref->setValue($e, array(NULL));
16 $ref->setValue($e, array(array()));
20 $ref->setValue($e, array(array(
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c5428 ZEND_METHOD(reflection_property, setValue) in ZEND_METHOD() argument
6419 ZEND_ME(reflection_property, setValue, arginfo_reflection_property_setValue, 0)
/PHP-7.0/
H A DNEWS2165 . Fixed bug #71018 (ReflectionProperty::setValue() behavior changed).

Completed in 55 milliseconds