diff --git a/src/Fetch/UTF8.php b/src/Fetch/UTF8.php index c7d88e0..8e5a9df 100644 --- a/src/Fetch/UTF8.php +++ b/src/Fetch/UTF8.php @@ -18,7 +18,7 @@ final class UTF8 $buf = ''; for ($i = 0, $max = strlen($text); $i < $max; $i++) { - $c1 = $text{$i}; + $c1 = $text[$i]; if ($c1 <= "\x7F") { // single byte $buf .= $c1;