3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'Starting', PHP_EOL; for ($i = 0; $i < 4; $i++) { echo $i, PHP_EOL; sleep(5); } echo 'Done', PHP_EOL;

Abusive script

This script was stopped while abusing our resources

Output for 8.1.0 - 8.1.29, 8.2.13 - 8.2.23, 8.3.0 - 8.3.11
Starting 0
Process exited with code 137.

preferences:
59.25 ms | 637 KiB | 4 Q