kboyd, Here's how to pretend that array_map supports passing keys in #php
$keys = array_keys($data); array_combine( $keys, array_map( fn ($values, $key) => ... , $data, $keys ) );
Keys tend to be important in PHP because they are often strings that contain relevant data, rather than index offsets.
Dropping the array_combine would result in losing all of the keys from the resulting array & reverting to int offsets.