3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace Volt\Module { class Minecraft extends Exception { public function __construct() { throw new Minecraft("test"); } } } new Volt\Module\Query\Minecraft();
Output for 5.3.0 - 5.4.24
Fatal error: No code may exist outside of namespace {} in /in/8rYeL on line 13
Process exited with code 255.