3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); ini_set('display_errors', 'On'); function echoIsSet(&$var) { if(isset($var)) { echo $var; } } $exist = "hi"; echoIsSet($exist); echoIsSet($notexist);
Output for 4.3.0 - 7.2.0
hi