$array
=
[
0 => 'XL',
1 => 'gold',
]
#1
|
array_values
|
(["size" => "XL", "color" => "gold"])
|