Array and string offset access syntax with curly braces is deprecated原因

Array and string offset access syntax with curly braces is deprecated

PHP7.4不再支持使用大括号访问数组以及字符串的偏移_PHP代码
php7.4不支持数组{}写法,统一为数组[]
Array and string offset access syntax with curly braces is deprecated原因
解决办法:
seq=(ord(seq = (ord(value{0}) % $rule[‘num’]) + 1;中的
value0value{0}改为value[0]