Using old array_keys optimizer, in_array optimizer [ci skip]