报告空索引运算符([]) 与 strings 的用法。

从 PHP 7.1 开始,对字符串应用空索引运算符会引发致命错误。

有关详细信息,请参阅 Creating/modifying with square bracket syntax (php.net)