For a PHP Cache setting question, please help me explain it. Thank you & lt ;? Phpfor ($ i10; $ I & gt; 0; $ I --) {echo $ I; flush (); sleep (1 );}? & Gt; PHP. INI settings: output_bufferingon, do you mean that the first 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 will wait until the program is finished and output together? I have a question about cache settings for B PHP. please help me explain it. thank you.
For ($ I = 10; $ I> 0; $ I --)
{
Echo $ I;
// Flush ();
Sleep (1 );
}
?>
PHP. INI settings: output_buffering = on
In this case, do you want to say that the first 10, 9, have to wait until the program is executed and output together?
I have set buffring = off, but it is not output one by one. what should I do?
Thank you!
------ Solution --------------------
Add
Ob_flush ();
Flush ();
------ Solution --------------------
Focus on points
------ Solution --------------------
I have never encountered such a situation.