Неустранимая ошибка: синтаксис доступа к массиву и смещению строки с фигурными скобками
больше не поддерживается в
C:\xampp\htdocs\ta\assets\PHPExcel\Classes\ PHPExcel\Shared\String.php
в строке 526
Код: Выделить всё
public static function utf16_decode($str, $bom_be = true)
{
if (strlen($str) < 2) {
return $str;
}
$c0 = ord($str{0});
$c1 = ord($str{1});
if ($c0 == 0xfe && $c1 == 0xff) {
$str = substr($str, 2);
} elseif ($c0 == 0xff && $c1 == 0xfe) {
$str = substr($str, 2);
$bom_be = false;
}
$len = strlen($str);
$newstr = '';
for ($i=0; $i
Подробнее здесь: [url]https://stackoverflow.com/questions/79094035/array-and-string-offset-access-syntax-with-curly-braces-is-no-longer-supported[/url]
Мобильная версия