3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class foo { function baz() { class inner {} } }
Output for hhvm-3.10.0 - 3.12.0
Output for 5.3.0 - 5.4.30
Fatal error: Class declarations may not be nested in /in/uhfvM on line 4
Process exited with code 255.