function parseFooter() { global $vartem; $vartem['querytime'] = queryTime(); $footerContent = $this->fetch($this->foot); if (!$this->include_footer) { $footerContent = preg_replace('/^.+<\\/center>/is', '</center>', $footerContent); } return $footerContent; }
/** * 总体耗费描述 * * @return string */ function theUsage() { return "Memory used:" . memoryUsage() . " mb, Progress times:" . queryTime() . " s."; }