Fatal error: Uncaught think\exception\ErrorException: filesize(): stat failed for /www/wwwroot/www.cqminghua.cn/caches/temp/cb10cc532a5b7d1b1ed9b7ae44da841f.php in /www/wwwroot/www.cqminghua.cn/system/library/think/Debug.php:146 Stack trace: #0 [internal function]: think\Error::appError(2, 'filesize(): sta...', '/www/wwwroot/ww...', 146, Array) #1 /www/wwwroot/www.cqminghua.cn/system/library/think/Debug.php(146): filesize('/www/wwwroot/ww...') #2 /www/wwwroot/www.cqminghua.cn/system/library/think/debug/Html.php(78): think\Debug::getFile(true) #3 /www/wwwroot/www.cqminghua.cn/system/library/think/Debug.php(200): think\debug\Html->output(Object(think\Response), Array) #4 /www/wwwroot/www.cqminghua.cn/system/library/think/Response.php(97): think\Debug::inject(Object(think\Response), '<!DOCTYPE html>...') #5 /www/wwwroot/www.cqminghua.cn/system/library/think/Error.php(47): think\Response->send() #6 [internal function]: think\Error::appException(Object(think\exception\ErrorException)) #7 {main} thrown in /www/wwwroot/www.cqminghua.cn/system/library/think/Debug.php on line 146
System Error

[1] ErrorException in Debug.php line 146

Uncaught think\exception\ErrorException: filesize(): stat failed for /www/wwwroot/www.cqminghua.cn/caches/temp/cb10cc532a5b7d1b1ed9b7ae44da841f.php in /www/wwwroot/www.cqminghua.cn/system/library/think/Debug.php:146
Stack trace:
#0 [internal function]: think\Error::appError(2, 'filesize(): sta...', '/www/wwwroot/ww...', 146, Array)
#1 /www/wwwroot/www.cqminghua.cn/system/library/think/Debug.php(146): filesize('/www/wwwroot/ww...')
#2 /www/wwwroot/www.cqminghua.cn/system/library/think/debug/Html.php(78): think\Debug::getFile(true)
#3 /www/wwwroot/www.cqminghua.cn/system/library/think/Debug.php(200): think\debug\Html->output(Object(think\Response), Array)
#4 /www/wwwroot/www.cqminghua.cn/system/library/think/Response.php(97): think\Debug::inject(Object(think\Response), '<!DOCTYPE html>...')
#5 /www/wwwroot/www.cqminghua.cn/system/library/think/Error.php(47): think\Response->send()
#6 [internal function]: think\Error::appException(Object(think\exception\ErrorException))
#7 {main}
thrown

  1. * @param bool $detail 是否显示详细
  2. * @return integer|array
  3. */
  4. public static function getFile($detail = false)
  5. {
  6. if ($detail) {
  7. $files = get_included_files();
  8. $info = [];
  9. foreach ($files as $key => $file) {
  10. $info[] = $file . ' ( ' . number_format(filesize($file) / 1024, 2) . ' KB )';
  11. }
  12. return $info;
  13. }
  14. return count(get_included_files());
  15. }
  16. /**
  17. * 浏览器友好的变量输出
  18. * @param mixed $var 变量
0.236394s