>>108608118
Shut the fuck off.
$mapping = ['a' => 1, 'b' => 2];
in_array('a', $mapping); // false (looks for value 'a')
in_array(1, $mapping); // true (finds value 1)
// What you would reasonably expect:
in_array('a', $mapping); // should be true (key exists)