3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace Foo{class Bar {}} var_export(serialize(new Bar()));
Output for 5.3.0 - 5.4.17
Fatal error: No code may exist outside of namespace {} in /in/ELf14 on line 5
Process exited with code 255.