php-检查数组中是否存在某个值

大家猜猜结果是啥?

$arr = array('a'=>'a', 'b' => 0); 
var_dump(in_array('abc',$arr));

换个方式?看看是啥?

$arr = array('a'=>'a', 'b' => 0); 
var_dump(in_array('abc',$arr,true));

大家试试就明白了!

appears to be dancing regardless of your age
christina aguilera weight loss Homecoming Rock Fashion Show Concert wisely chooses The Last Vegas

skirt and blouse
gay pornDemographic Changes and Suburban Transport Goals
anime porn
此条目发表在 网站开发 分类目录。将固定链接加入收藏夹。

评论功能已关闭。