3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Core { function __construct() { if ($_GET['hi']) { exit('hi'); } echo 'haha'; } function __destruct() { phpinfo(); } } $_GET['hi'] = 1; $core = new Core;
based on pG9VY
Output for 5.3.9 - 7.1.0
hi Warning: phpinfo() has been disabled for security reasons in /in/c4p4C on line 12