3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; for($i<10;++$i){ echo $i ."\n"; }
Output for 5.3.0 - 5.3.26, 5.4.0 - 5.4.16
Parse error: syntax error, unexpected ')', expecting ';' in /in/AUPGM on line 3
Process exited with code 255.

preferences:
190.95 ms | 1399 KiB | 51 Q