
日期:2006-08-07 作者:喜腾小二 来源:PHPChina
转自:http://axgle.php5.cz/phpword.php?id=48
/* echo "本句话立刻显示,下面的do_something_demo函数将在后台运行,例如更新数据库等等
"; $sd=new shutdown('do_something_demo'); "中间也来写几个字,同样是可以的(只要是在->exe之前)"; $sd->exec(); do_something_demo() { sleep(10); shutdown { shutdown($name) { register_shutdown_function($name); exec() { str_pad('',10000); flush(); ?>