Source Code:
(back to article)
<?php $counter = 0; while ($counter < 2) { echo "This message will be printed every 5 seconds\n"; sleep(5); $counter++; } echo "Finished";
Result:
Report an issue