'.end($names).''; } } if(!function_exists('parse_file')){ function parse_file($file, $line) { return '
'.basename($file)." line {$line}".'
'; } } if(!function_exists('parse_args')){ function parse_args($args) { $result = []; foreach ($args as $key => $item) { switch (true) { case is_object($item): $value = sprintf('
object
(%s)', parse_class(get_class($item))); break; case is_array($item): if(count($item) > 3){ $value = sprintf('[%s, ...]', parse_args(array_slice($item, 0, 3))); } else { $value = sprintf('[%s]', parse_args($item)); } break; case is_string($item): if(strlen($item) > 20){ $value = sprintf( '\'
%s...
\'', htmlentities($item), htmlentities(substr($item, 0, 20)) ); } else { $value = sprintf("'%s'", htmlentities($item)); } break; case is_int($item): case is_float($item): $value = $item; break; case is_null($item): $value = '
null
'; break; case is_bool($item): $value = '
' . ($item ? 'true' : 'false') . '
'; break; case is_resource($item): $value = '
resource
'; break; default: $value = htmlentities(str_replace("\n", '', var_export(strval($item), true))); break; } $result[] = is_int($key) ? $value : "'{$key}' => {$value}"; } return implode(', ', $result); } } ?>
<?php echo \think\Lang::get('System Error'); ?>
[]
$value) { ?>
ERROR
您å¯ä»¥ï¼š
< 返回上一页
|
去首页 >
|
寻求帮助 >
Exception Datas
$value) { ?> $val) { ?>
empty