Skip to content

Instantly share code, notes, and snippets.

@vegitron
Created January 5, 2017 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vegitron/bc883ddc88fe9253adc3e0bccea6445e to your computer and use it in GitHub Desktop.
Save vegitron/bc883ddc88fe9253adc3e0bccea6445e to your computer and use it in GitHub Desktop.
<?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