php in_array() 循环大量数组时效率特别慢问题

in_array() 会循环数组内部元素逐个匹配,特别耗时,换成以下方式,效率大大提升

猜你喜欢

转载自www.cnblogs.com/xdtx/p/9365468.html
今日推荐