3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); ini_set("display_errors", 1); $a; $b==1; if($c); if ($d==1); (int) $e; (boolean) $f;
based on TLWvD
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: b in /in/iO0W6 on line 9 Notice: Undefined variable: c in /in/iO0W6 on line 10 Notice: Undefined variable: d in /in/iO0W6 on line 11 Notice: Undefined variable: e in /in/iO0W6 on line 12 Notice: Undefined variable: f in /in/iO0W6 on line 13
Output for 5.0.4 - 5.0.5, hhvm-3.10.0 - 3.13.2
Notice: Undefined variable: a in /in/iO0W6 on line 8 Notice: Undefined variable: b in /in/iO0W6 on line 9 Notice: Undefined variable: c in /in/iO0W6 on line 10 Notice: Undefined variable: d in /in/iO0W6 on line 11 Notice: Undefined variable: e in /in/iO0W6 on line 12 Notice: Undefined variable: f in /in/iO0W6 on line 13
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/iO0W6 on line 8 Notice: Undefined variable: b in /in/iO0W6 on line 9 Notice: Undefined variable: c in /in/iO0W6 on line 10 Notice: Undefined variable: d in /in/iO0W6 on line 11 Notice: Undefined variable: e in /in/iO0W6 on line 12 Notice: Undefined variable: f in /in/iO0W6 on line 13