3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); define('FOO', true); $result = eval("return defined('Foo');"); var_export($result);
Output for 4.3.5 - 7.1.0
false
Output for 4.3.0 - 4.3.4
0