- flush: documentation ( source)
- time: documentation ( source)
- sleep: documentation ( source)
- ob_flush: documentation ( source)
<?php
while (1) {
echo time() . '<br>';
ob_flush(); # http://php.net/ob_flush
flush(); # http://php.net/flush
sleep(1); # http://php.net/sleep
}