3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = -1; $max = 6; for ( ; ++$i, $i < $max ; ) { printf("%d ", $i++); } // 0 2 4

preferences:
54.28 ms | 402 KiB | 5 Q