Skip to content

Commit 3ebc7ea

Browse files
committed
fixup! Deprecate ReflectionProperty::setValue() with an incorrect 1st arg type
1 parent 99e2c27 commit 3ebc7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/tests/bug78868.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spl_autoload_register('main_autoload');
2525

2626
$classA = new ReflectionClass("A");
2727
$props = $classA->getProperties();
28-
$props[0]->setValue(2); //causes constant resolving, which runs autoload, all with EG(fake_scope) == "A"
28+
$props[0]->setValue(null, 2); //causes constant resolving, which runs autoload, all with EG(fake_scope) == "A"
2929

3030
echo "OK\n";
3131
?>

0 commit comments

Comments
 (0)