今天迁移网站 有一个采集器是用框架thinkphp5.0.24写的迁移过程中报错

Array and string offset access syntax with curly braces is no longer supported

问题原因是此程序不支持高版本的PHP,用php8驱动不了

从PHP7.4开始不再支持使用大括号访问数组以及字符串的偏移

所以把网站的php8换成php5.6以后顺利运行 问题解决