Home
last modified time | relevance | path

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

/PHP-8.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 ReflectionClass::setStaticPropertyValue() expects exactly 2 arguments, 3 given
48 ReflectionClass::setStaticPropertyValue() expects exactly 2 arguments, 0 given
49 ReflectionClass::setStaticPropertyValue() expects exactly 2 arguments, 1 given
[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.phpt436 Method [ <internal:Reflection> public method setStaticPropertyValue ] {
/PHP-8.4/ext/reflection/
H A Dphp_reflection.stub.php408 public function setStaticPropertyValue(string $name, mixed $value): void {} function in ReflectionClass
H A Dphp_reflection_arginfo.h832 ZEND_METHOD(ReflectionClass, setStaticPropertyValue);
1120 …ZEND_ME(ReflectionClass, setStaticPropertyValue, arginfo_class_ReflectionClass_setStaticPropertyVa…
H A Dphp_reflection.c4303 ZEND_METHOD(ReflectionClass, setStaticPropertyValue) in ZEND_METHOD() argument

Completed in 45 milliseconds