mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-22 11:16:03 +03:00
fix Array and string offset access syntax with curly braces is no longer supported
This commit is contained in:
parent
9ccbd2a80b
commit
a306ea53af
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user