3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { function a() { class Bar { } } }
Output for 5.3.0 - 5.4.21
Fatal error: Class declarations may not be nested in /in/3QMjL on line 4
Process exited with code 255.