3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($a = 0; $a < 4 && a !== 2; $a++) { echo $a; }
Output for 4.3.0 - 7.1.0
Notice: Use of undefined constant a - assumed 'a' in /in/198lE on line 2 0 Notice: Use of undefined constant a - assumed 'a' in /in/198lE on line 2 1 Notice: Use of undefined constant a - assumed 'a' in /in/198lE on line 2 2 Notice: Use of undefined constant a - assumed 'a' in /in/198lE on line 2 3