Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
if (ob_get_level())
ob_end_clean();
for ($i = 0; $i < 10; $i++) {
sleep(1);
echo("Slept\n");
flush();
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment