1. 修改数组键名: $myArray = ['0'=>'Hi','1'=>'Hello','2'=>'Hey']; $myNewArray = array_combine( array_map(function($key){ return 'a'.$key; }, array_keys($myArray)), $myArray ); print_r($myNewArray);… Read More