php – 警告:不能使用标量值作为数组

执行我的状态脚本时看到以下错误: Warning: Cannot use a scalar value as an array in $result[$array[$i*2]] = $array[$i*2+1]; 我究竟做错了什么? 我已经包括下面的完整代码: ?php // Set the host and port $host = ip_goes_here; $port =

返回顶部