PHP7.4不再支持使用大括號訪問數組以及字符串的偏移
php7.4不再支持數組{}寫法,統一為數組[]
修改位置:\thinkphp\library\think\db\Query.php 的 400 行左右
修改為:$seq = (ord($value[0]) % $rule['num']) + 1;
$asc = ord($s{0}) * 256 + ord($s{1}) - 65536;
$asc = ord($s[0]) * 256 + ord($s[1]) - 65536;
如對本文有疑問,請提交到交流論壇,廣大熱心網友會為你解答??! 點擊進入論壇