3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace { echo "something"; } namespace one; use ns_two;
Output for 5.3.0 - 5.4.30
Fatal error: Cannot mix bracketed namespace declarations with unbracketed namespace declarations in /in/375X1 on line 7
Process exited with code 255.