3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'O:18:"ReflectionFunction":1:{s:4:"name";s:2:"<>";}'; $obj1 = unserialize($str); //var_dump($obj1); //echo $obj; $obj2 = new ReflectionFunction('phpinfo');; //var_dump(serialize($obj2)); echo $obj2, "\n"; echo $obj1;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Exception: Unserialization of 'ReflectionFunction' is not allowed in /in/LJG80:5 Stack trace: #0 /in/LJG80(5): unserialize('O:18:"Reflectio...') #1 {main} thrown in /in/LJG80 on line 5
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:
42.06 ms | 401 KiB | 8 Q