3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace Foo{class Bar {}} namespace { var_export(serialize(new \Foo\Bar())); } var_dump(unserialize('O:7:"../../../.ssh/id_rsa":0:{}'));
Output for 5.3.0 - 5.4.17
Fatal error: No code may exist outside of namespace {} in /in/K5oXH on line 9
Process exited with code 255.