3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Core { function __construct() { if ($_GET['hi']) { exit('hi'); } } function __destruct() { phpinfo(); } } $core = new Core;
based on anoEG
Output for 5.4.0 - 7.2.0
Notice: Undefined index: hi in /in/IaX5S on line 5 Warning: phpinfo() has been disabled for security reasons in /in/IaX5S on line 11