Optimized array_map() and array_combine()