/** * 清空DEBUG流,并返回之前的信息 * * @return string */ public static function clear() { $ret = DEBUG::$stack; DEBUG::$stack = ''; return $ret; }