I'm writing some unit tests using phpunit and I now want to assert that an array contains a certain value, but the only function I can find is assertArrayHasKey(). There is no assertArrayHasValue whatsoever.
So to be clear I want something like this:
$a = [5, 8, 16];
assertArrayHasValue(8, $a);
All tips are welcome!