3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace { use foo\bar; if (true) {class bar {}} }
Output for 5.3.0 - 5.4.20
Fatal error: Cannot declare class bar because the name is already in use in /in/PXp1f on line 6
Process exited with code 255.