3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $formval = "0"; if (isset($formval)) { echo "is set\n"; } $defined = null; var_dump(is_null($defined)); var_dump(is_null($undefined));
Output for 5.0.4 - 7.2.0
is set bool(true) Notice: Undefined variable: undefined in /in/8N1Be on line 9 bool(true)
Output for 4.3.0 - 5.0.3
is set bool(true) Notice: Undefined variable: undefined in /in/8N1Be on line 9 bool(true)