3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function get_class() { return 'My\Class'; } 'DateTime' === get_class();
Output for 5.3.0 - 5.4.21
Fatal error: Cannot redeclare get_class() in /in/Q6pD6 on line 6
Process exited with code 255.