3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); var_dump(ini_get('display_errors')); function echoIsSet(&$var) { if(isset($var)) { echo $var; } } $exist = "hi"; echoIsSet($exist); echoIsSet($notexist);
Output for 4.3.0 - 7.1.0
string(1) "1" hi