Can't search an array in PHP in_array for the presence of multiple needles -


when giving php in_array array of values want search for, not work. although documentation specifies can give mixed needle.

so want test presence of multiple terms value of array - there reason not working, , can suggest way of doing this?

mixed doesn't mean more 1 needle, refers types. it's documentation talk more 1 possible type.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -