3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i=1,$j=i+1; $j < 3; $j++){ var_dump($j); }
Output for 7.1.0
Notice: Use of undefined constant i - assumed 'i' in /in/JOjsZ on line 2 Warning: A non-numeric value encountered in /in/JOjsZ on line 2 int(1) int(2)
Output for 4.3.0 - 7.0.14
Notice: Use of undefined constant i - assumed 'i' in /in/JOjsZ on line 2 int(1) int(2)