Trying to use PHP’s in_array() on ~300,000 elements. Where I would expect there to be a huge number of elements found, I’m getting none. Is it just choking? Anyone have experience with this size of a lookup?
Trying to use PHP’s in_array() on ~300,000 elements. Where I would expect there to be a huge number of elements found, I’m getting none. Is it just choking? Anyone have experience with this size of a lookup?
False alarm, of course. I just needed some sleep. There were some oddities with my array that I simply couldn’t see until I had coffee. Carry on!
Side note: in_array is snappy.