PHP 8.5.0 Alpha 1 available for testing

Voting

: four plus one?
(Example: nine)

The Note You're Voting On

js at jeansebastien dot com
19 years ago
This will show each line at a time with a pause of 2 seconds.
(Tested under IEx and Firefox)

<?php

if (ob_get_level() == 0) ob_start();

for (
$i = 0; $i<10; $i++){

echo
"<br> Line to show.";
echo
str_pad('',4096)."\n";

ob_flush();
flush();
sleep(2);
}

echo
"Done.";

ob_end_flush();

?>

<< Back to user notes page

To Top