Searches for needle in haystack using loose comparison unless strict is set.
The searched value.
If needle is a string, the comparison is done in a case-sensitive manner.
If the third parameter strict is set to true then the in_array function will also check the types of the needle in the haystack.
Returns true if needle is found in the array, false otherwise.