<?php header( ‘Content-type: text/html; charset=utf-8‘ ); echo ‘Begin ...<br />‘; for( $i = 0 ; $i < 10 ; $i++ ) { echo $i . ‘<br />‘; flush(); ob_flush(); sleep(1); } echo ‘End ...<br />‘; ?>
时间: 2024-10-13 00:22:54
<?php header( ‘Content-type: text/html; charset=utf-8‘ ); echo ‘Begin ...<br />‘; for( $i = 0 ; $i < 10 ; $i++ ) { echo $i . ‘<br />‘; flush(); ob_flush(); sleep(1); } echo ‘End ...<br />‘; ?>