// this call converts all non-ASCII characters into numeirc htmlentities
if (\
function_exists('mb_encode_numericentity'
) && 'ASCII' !==
$original_encoding) { $string = \
mb_encode_numericentity($string,
[0x80, 0xFFFF, 0, 0xFFFF
],
$encoding);
} return $string;
} public function ideLink(string
$file, int
$line): string
{ $path =
$this->
escape(Kint::
shortenPath($file)).':'.
$line;
$ideLink = Kint::
getIdeLink($file,
$line);
if (!
$ideLink) { return $path;
} $class = '';
if (\
preg_match('/https?:\\/\\//i',
$ideLink)) { $class = 'class="kint-ide-link" ';
}