3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function is_set(&$v) { return $v !== null; } if(is_set($var)) { echo $var; } else { echo '$var is not set' ; }
Output for 4.3.0 - 7.3.0rc6
$var is not set