3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class foobar {} try { class_alias('foobar', 'static'); } catch(Error $e) { var_dump($e); }
based on qTDnV
Output for 7.0.0 - 7.2.0
Fatal error: Cannot use 'static' as class name as it is reserved in /in/AYVNf on line 4
Process exited with code 255.
Output for 5.3.21 - 5.6.28