I have many arrays, generated from a csv file. Of all the arrays, the first array object is the csv header titles. See example below:
So in summary, the first array's values (i.e, key = 0, and value = "report_date") should replace all the keys of the all the subsequent arrays.
So a transformation like this for all the arrays except the first.
Array[7]
"report_date": "2014-01-07"
"description": "Cupidatat reprehenderit anim non irure aliqua irure veniam sint veniam velit aute elit."
"email": "[email protected]"
"company": "Techtrix"
"status": "false"
"name/last": "Pennington"
"name/first": "Helene"
