3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $z; if (3 > 5) { $z = 1; } if (is_null($z)) echo "";
based on 1ZXad
Output for 5.1.0 - 7.2.0
Notice: Undefined variable: z in /in/NEuTJ on line 6
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: z in /in/NEuTJ on line 2 Notice: Undefined variable: z in /in/NEuTJ on line 6
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: z in /in/NEuTJ on line 2 Notice: Undefined variable: z in /in/NEuTJ on line 6