Skip to content

Instantly share code, notes, and snippets.

@Kcko
Created November 29, 2019 18:41
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 Kcko/752128c66049dc897a9f48355c28a544 to your computer and use it in GitHub Desktop.
Save Kcko/752128c66049dc897a9f48355c28a544 to your computer and use it in GitHub Desktop.
<?php
if (ob_get_level() == 0) ob_start();
for ($i = 0; $i<10; $i++){
echo "<br> $i Line to show.";
echo str_pad('',4096)."\n";
ob_flush();
flush();
sleep(1);
}
echo "<br> Done.";
ob_end_flush();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment