コード例 #1
0
ファイル: Debug.php プロジェクト: im286er/cmlphp
 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;
 }
コード例 #2
0
ファイル: Debug.php プロジェクト: linhecheng/cmlphp
 /**
  * 程序执行完毕,打印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();
 }