Let say we have an array:
$array = ["Key" => true];
Now if we tried to search for any value in that array with in_array
function it always returns true:
if( in_array('value', $array) ) echo 'Exists'; // returns exists
Is this behavior is expected or it's just a bug?