Home
last modified time | relevance | path

Searched refs:setStaticPropertyValue (Results 1 – 7 of 7) sorted by relevance

/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_setStaticPropertyValue_002.phpt2 ReflectionClass::setStaticPropertyValue() - bad params
14 var_dump($rc->setStaticPropertyValue("x", "default value", 'blah'));
19 var_dump($rc->setStaticPropertyValue());
24 var_dump($rc->setStaticPropertyValue(null));
29 var_dump($rc->setStaticPropertyValue(null,null));
34 var_dump($rc->setStaticPropertyValue(1.5, 'def'));
39 var_dump($rc->setStaticPropertyValue(array(1,2,3), 'blah'));
47 Warning: ReflectionClass::setStaticPropertyValue() expects exactly 2 parameters, 3 given in %s on l…
50 Warning: ReflectionClass::setStaticPropertyValue() expects exactly 2 parameters, 0 given in %s on l…
53 Warning: ReflectionClass::setStaticPropertyValue() expects exactly 2 parameters, 1 given in %s on l…
[all …]
H A DReflectionClass_setStaticPropertyValue_001.phpt2 ReflectionClass::setStaticPropertyValue()
22 $rcA->setStaticPropertyValue("privateOverridden", "new value 1");
23 $rcA->setStaticPropertyValue("protectedOverridden", "new value 2");
24 $rcA->setStaticPropertyValue("publicOverridden", "new value 3");
29 $rcB->setStaticPropertyValue("privateOverridden", "new value 4");
30 $rcB->setStaticPropertyValue("privateOverridden", "new value 5");
31 $rcB->setStaticPropertyValue("protectedOverridden", "new value 6");
32 $rcB->setStaticPropertyValue("publicOverridden", "new value 7");
38 var_dump($rcA->setStaticPropertyValue("protectedDoesNotExist", "new value 8"));
45 var_dump($rcA->setStaticPropertyValue("privateDoesNotExist", "new value 9"));
H A DReflectionClass_setStaticPropertyValue_003.phpt2 ReflectionClass::setStaticPropertyValue() - type constraints must be enforced
14 $rc->setStaticPropertyValue("y", "foo");
18 $rc->setStaticPropertyValue("y", "21");
25 $rc->setStaticPropertyValue("x", "foo");
29 $rc->setStaticPropertyValue("x", "42");
H A Dbug70982.phpt2 Bug #70982 (setStaticPropertyValue behaviors inconsistently with 5.6)
18 $rf->setStaticPropertyValue('abc', 'hi');
H A D006.phpt26 $ref->setStaticPropertyValue($name, 'updated');
53 $ref->setStaticPropertyValue($name, 'updated');
72 $ref->setStaticPropertyValue($name, 'updated');
H A DReflectionClass_toString_001.phpt312 Method [ <internal:Reflection> public method setStaticPropertyValue ] {
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c3875 ZEND_METHOD(reflection_class, setStaticPropertyValue) in ZEND_METHOD() argument
6587 …ZEND_ME(reflection_class, setStaticPropertyValue, arginfo_reflection_class_setStaticPropertyValue,…

Completed in 32 milliseconds