PHP 边执行边输出

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

  

posted @ 2015-11-07 13:53  捕蛇者说  阅读(1163)  评论(0编辑  收藏  举报