PHP 边执行边输出

<?php    
for ($i = 1; $i <= 5; $i++) {  
    print "#$i 完毕<hr>";  
    sleep(1);  
    print str_pad("", 10000);  
    flush();  
}
?> 

  

原文地址:https://www.cnblogs.com/bushe/p/4944938.html