Can't you just do `in_array($value, $acceptable, true)` for strict mode?