" . h($e->getMessage()) . "
"; if (0 !== strpos(get_class($e), 'JSMin\\Unterminated') || !preg_match('~byte (\d+)~', $e->getMessage(), $m)) { return $msg; } $msg .= "";
if ($m[1] > 200) {
$msg .= h(substr($input, ($m[1] - 200), 200));
} else {
$msg .= h(substr($input, 0, $m[1]));
}
$highlighted = isset($input[$m[1]]) ? h($input[$m[1]]) : '␄';
if ($highlighted === "\n") {
$highlighted = "⏎\n";
}
$msg .= "$highlighted";
$msg .= h(substr($input, $m[1] + 1, 200)) . "
";
return $msg;
}
/**
* Draw page
*
* @param array $vars
*/
function sendPage($vars) {
header('Content-Type: text/html; charset=utf-8');
?>
\\n
)