kodexplorer:Array and string offset access syntax with curly braces is deprecated in

今天在检查kodexplorer时候,在线打开pdf文件的时候,会出现这个错误。提示错误页面common.function.php

$pad = ord($text{strlen($text)-1});

改成: 

$pad = ord($text(strlen ,$text,-1));

其原因是php新版中已经取消了对于大括号{}的使用,写法更加严谨

posted @ 标签:php explorer 技术文章
2021-08-19
返回首页