Array and string offset access syntax with curly braces is deprecated thinkPHP5 查詢Mysql7.4版本問題

緣由是由於MySQL7.4版本再也不支持{}寫法,統一爲數組[ ],解決很簡單經過修改tp5的Query.php文件的字段中php

$seq = (ord($value{0}) % $rule['num']) + 1; 的$value{0}大括號改成$value[0]數組

 

 

相關文章
相關標籤/搜索