void register_shutdown_function ( callback $function [, mixed $parameter [, mixed $... ]] )
Registers the function named by function to be executed when script processing is complete.
来自yaronspace.cn  本文链接:http://yaronspace.cn/blog/archives/273