3v4l.org

run code in 300+ PHP versions simultaneously
<?php function autoload($classname) { echo $classname, "\n"; } spl_autoload_register('autoload'); class Monko { private $dizz = 1; } $obj = new Monko(); $ser = serialize($obj); $class = 'Librarize\\..\\/\\PSR-0\\RoACKs'; $buffer = sprintf('O:%d:"%s"', strlen($class), $class) . substr($ser, 11); unserialize($buffer);
Output for git.master, git.master_jit
Notice: unserialize(): Error at offset 0 of 62 bytes in /in/coqn6 on line 20
Output for rfc.property-hooks
Warning: unserialize(): Error at offset 0 of 62 bytes in /in/coqn6 on line 20

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:
29.61 ms | 401 KiB | 8 Q