count(): Parameter must be an array or an object that implements Countable
把
$arg = substr($arg,0,count($arg)-2);
改成下面代码即可
$arg = substr($arg,0,strlen($arg)-1);
count(): Parameter must be an array or an object that implements Countable
把
$arg = substr($arg,0,count($arg)-2);
改成下面代码即可
本文来源:PHP报错:count(): Parameter must be an array or an object that implements Countable
本文地址:https://www.ys720.com/jiaocheng/3650.html
版权声明:本文采用[BY-NC-SA]协议进行授权,如无特别说明,转载请注明本文地址!