3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 1; if ($a != 1 || $b != 2) { echo true; } else { echo $a; }
based on 3AZcr
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: b in /in/Cs8S3 on line 5 1
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: b in /in/Cs8S3 on line 5 1