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
Post a Comment