how to check if an array has value that === null without looping?

Viewed 14682

http://php.net/manual/en/function.in-array.php - has issues with that since it checks only by ==. Is there any clever oneliner here that can do it by === ?

That is to return false if an array is empty, that is has 0 elements, or when array doesn't contain any value that is exactly null. True if array has at least one === null element.

2 Answers
Related