3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 1; For($i,$i<44;$i++){ Echo str_pad($i,5,"0",STR_PAD_LEFT); }
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected ')', expecting ';' in /in/8GJIM on line 5
Process exited with code 255.

preferences:
176.78 ms | 1395 KiB | 36 Q