最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
php is_array数组 Notice: Array to string conversion
时间:2022-06-24 23:24:14 编辑:袖梨 来源:一聚教程网
例子
$str = preg_match_all('/(
- ).*?(<\/UL>)/is', $str,$array);
- 原神阿蕾奇诺传说任务怎么做 04-25
- 暗黑破坏神不朽风之锤炼在哪刷 暗黑破坏神手游不朽风之锤炼在哪掉 04-25
- 女神异闻录夜幕魅影宫下美波怎么样 04-25
- 原神4.6新增书籍北境秘史在哪 04-25
- 奇迹暖暖春日蜜语怎么获得 04-25
- 原神4.6新增水神瞳收集攻略 04-25
if(is_array($$arrayList[0]) )
{
}
结果发现
Notice: Array to string conversion in E:\get_data.php on line 45
Notice: Undefined variable: Array in E:\get_data.php on line 45
仔细检查一下发现
is_array($$arrayList[0]多了一个美元了,如果说是RMB就好了
我们修改一下
if(is_array($arrayList[0]) )
{
}
执行就没有问题了哦。