3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a; $b==1; if($c); if ($d==1); (int) $e; (boolean) $f;
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: b in /in/TLWvD on line 4 Notice: Undefined variable: c in /in/TLWvD on line 5 Notice: Undefined variable: d in /in/TLWvD on line 6 Notice: Undefined variable: e in /in/TLWvD on line 7 Notice: Undefined variable: f in /in/TLWvD on line 8
Output for 5.0.4 - 5.0.5, hhvm-3.10.0 - 3.13.2
Notice: Undefined variable: a in /in/TLWvD on line 3 Notice: Undefined variable: b in /in/TLWvD on line 4 Notice: Undefined variable: c in /in/TLWvD on line 5 Notice: Undefined variable: d in /in/TLWvD on line 6 Notice: Undefined variable: e in /in/TLWvD on line 7 Notice: Undefined variable: f in /in/TLWvD on line 8
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/TLWvD on line 3 Notice: Undefined variable: b in /in/TLWvD on line 4 Notice: Undefined variable: c in /in/TLWvD on line 5 Notice: Undefined variable: d in /in/TLWvD on line 6 Notice: Undefined variable: e in /in/TLWvD on line 7 Notice: Undefined variable: f in /in/TLWvD on line 8