3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = new __PHP_Incomplete_Class; $r = new ReflectionProperty($a, x'); $r->setValue(null, 3); //$a->x = 2; var_dump($a); var_dump(unserialize(serialize($a)));
Output for git.master_jit, git.master
Parse error: syntax error, unexpected string content ");", expecting ")" in /in/HFTUY on line 4
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
151.12 ms | 1313 KiB | 6 Q