some text due stackoverflow error some text due stackoverflow error some text due stackoverflow error some text due stackoverflow error some text due stackoverflow error some text due stackoverflow error some text due stackoverflow error some text due stackoverflow error some text due stackoverflow errorsome text due stackoverflow error
I have associative array like this:
[Array(0)]
0: Array(0)
date_time: "Thu Apr 08 2021 12:00:00 GMT+0300 (Москва, стандартное время)"
excursionshop_currency__id: "1"
excursionshop_timetable__date_time: "2021-04-08 12:00"
excursionshop_timetable__excursionshop_excursionlanguages_id: "1"
excursionshop_timetable__id: 1
excursionshop_timetable__price: "1"
excursionshop_timetable__price_child: ""
excursionshop_timetable__price_foreigner: ""
excursionshop_timetable__price_retiree: ""
excursionshop_timetable__price_schoolchild: ""
excursionshop_timetable__price_student: ""
excursionshop_timetable__price_veteran: ""
excursionshop_timetable__seat_limit: "1"
length: 0
__proto__: Array(0)
length: 1
__proto__: Array(0)
or
[Array(0)]
0: [excursionshop_timetable__price: "1", excursionshop_timetable__price_student: "", excursionshop_timetable__price_schoolchild: "", excursionshop_timetable__price_child: "", excursionshop_timetable__price_retiree: "", …]
length: 1
__proto__: Array(0)
And i want get
[Array(0)]
0: {'excursionshop_timetable__price': "1", 'excursionshop_timetable__price_student': "", 'excursionshop_timetable__price_schoolchild': "", 'excursionshop_timetable__price_child': "", 'excursionshop_timetable__price_retiree': "", …}
length: 1
__proto__: Array(0)