3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace a\b\c { class d { } } echo get_class(new a\b\c\d());
Output for 5.3.0 - 5.4.17
Fatal error: No code may exist outside of namespace {} in /in/1ucIe on line 9
Process exited with code 255.