3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a=1; $b=2; $c=3; unset($a,$b,$c); var_dump($a,$b,$c); $a = array(1,2); echo ($a)? 'pass' : 'fail';
Output for 5.0.4 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: a in /in/vfovP on line 6 Notice: Undefined variable: b in /in/vfovP on line 6 Notice: Undefined variable: c in /in/vfovP on line 6 NULL NULL NULL pass
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/vfovP on line 6 Notice: Undefined variable: b in /in/vfovP on line 6 Notice: Undefined variable: c in /in/vfovP on line 6 NULL NULL NULL pass