3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $b = null; var_dump(isset($a)); var_dump(isset($b)); var_dump($a==null); var_dump($b==null); var_dump($a===null); var_dump($b===null);
based on q0tPV
Output for 5.0.4 - 7.2.0
bool(false) bool(false) Notice: Undefined variable: a in /in/EN7YD on line 8 bool(true) bool(true) Notice: Undefined variable: a in /in/EN7YD on line 11 bool(true) bool(true)
Output for 4.3.0 - 5.0.3
bool(false) bool(false) Notice: Undefined variable: a in /in/EN7YD on line 8 bool(true) bool(true) Notice: Undefined variable: a in /in/EN7YD on line 11 bool(true) bool(true)