public static function stop() { self::$stopTime = microtime(true); // 记录内存结束使用 function_exists('memory_get_usage') && (self::$stopMemory = memory_get_usage()); self::showCmlPHPConsole(); CML_OB_START && ob_end_flush(); exit; }
/** * 程序执行完毕,打印CmlPHP运行信息 * */ public static function stop() { self::$stopTime = microtime(true); // 记录内存结束使用 function_exists('memory_get_usage') && (self::$stopMemory = memory_get_usage()); Cml::getContainer()->make('cml_debug')->stopAndShowDebugInfo(); CML_OB_START && ob_end_flush(); }