public function HtmlResponse($output = "") { header('Content-Type: text/html; charset=utf-8'); $time = number_format((microtime(TRUE) - MvcCore::GetMicrotime()) * 1000, 1, '.', ' '); $ram = function_exists('memory_get_peak_usage') ? number_format(memory_get_peak_usage() / 1000000, 2, '.', ' ') : 'n/a'; header("X-MvcCore-Cpu-Ram: {$time} ms, {$ram} MB"); echo $output; $this->Terminate(); }