3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace A { class B {} namespace D { class C {} } }
Output for hhvm-3.10.0 - 3.12.0
Output for 5.3.0 - 5.4.21
Fatal error: Namespace declarations cannot be nested in /in/B3TN5 on line 5
Process exited with code 255.