while (isset($c[++
$i]));
return $s.'</span>';
},
$v).'</span>';
if (!
($attr['binary'
] ?? false
)) { $v =
preg_replace_callback(static::
$unicodeCharsRx,
function D
$c) { return '<span class=sf-dump-default>\u{'.
strtoupper(dechex(mb_ord($c[0
]))).'}</span>';
},
$v);
} if (isset($attr['file'
]) &&
$href =
$this->
getSourceLink($attr['file'
],
$attr['line'
] ?? 0
)) { $attr['href'
] =
$href;
} if (isset($attr['href'
])) { if ('label' ===
$style) { $v .= '^';
} $target =
isset($attr['file'
]) ? '' : ' target="_blank"';
$v =
sprintf('<a href="%s"%s rel="noopener noreferrer">%s</a>',
esc($this->
utf8Encode($attr['href'
])),
$target,
$v);
} if (isset($attr['lang'
])) { $v =
sprintf('<code class="%s">%s</code>',
esc($attr['lang'
]),
$v);
}