选择语言 :

 Core_Core::run_shutdown_function

执行注册的关闭方法

null Core_Core::run_shutdown_function( )
File: ./core/classes/core.class.php
protected static function run_shutdown_function()
{
    static $run = null;
    if ( null!==$run )
    {
        return true;
    }
    $run = true;

    if (Core::$shutdown_function)
    {
        foreach (Core::$shutdown_function as $item)
        {
            try
            {
                call_user_func_array($item[0], (array)$item[1]);
            }
            catch ( Exception $e )
            {

            }
        }
    }
}