in_array checks if a value exists in an array by searching haystack for needle.


{{{returns}}} in array (mixed needle, array haystack [, bool strict])

Parameter Infos Edit

Parameter PHP Version Type
in_array 4 or 5 returns bool
needle 4 or 5 mixed
haystack 4 or 5 array
strict 4 or 5 bool
For more details on this function, visit its entry in the php manual.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.