添加页面在关闭前执行的列队 将利用call_user_func或call_user_func_array回调 类似 register_shutdown_function
null Core_Core::register_shutdown_function( array $function [, array $param_arr = null ] )
参数列表
参数 类型 描述 默认值 $functionarray方法名,可以是数组 $param_arrarray参数,可空 null
public static function register_shutdown_function($function, $param_arr = null)
{
Core::$shutdown_function[] = array($function, $param_arr);
}