PHP buffer why \r\n
问题 I have a few conceptual questions (all related, I think) regarding the following script, at the comments. The script works fine. <?PHP ob_start(); // Create string to overflow browser buffer ...? $buffer = str_repeat(" ", 4096); // Indicate new header / html content ...? $buffer .= "\r\n<span></span>\r\n"; for ($i=0; $i<5; $i++) { echo $buffer.$i; ob_flush(); flush(); sleep(1); } ob_end_flush(); ?> First, why do I need to send the \r\n<tag>\r\n to the browser? I assume it has something to do