We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed9f332 commit e1f62baCopy full SHA for e1f62ba
1 file changed
src/HJSON/HJSONParser.php
@@ -308,6 +308,7 @@ private function error($m)
308
309
$i = $this->at;
310
while ($i > 0) {
311
+ $ch = mb_substr(mb_strcut($this->text, $i - 1), 0, 1);
312
$i -= strlen($ch);
313
314
if ($ch === "\n") {
0 commit comments