3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php Class Foo { } unserialize( serialize(new Foo), ['allowed_classes' => []] );
Output for 7.0.0 - 7.2.0
Output for 5.4.1 - 5.6.28
Warning: unserialize() expects exactly 1 parameter, 2 given in /in/cf1Zk on line 11
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/cf1Zk on line 10
Process exited with code 255.