Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 /**
  * 程序执行完毕,打印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();
 }