I'm looking for a solution to add an dimension to a php array. As this title is confusing Ill give you an example. If I have the array:
[0] => 'xx1',
[1] => 'xx2',
[2] => 'xx3',
...
I want to convert it to
[0] => 'y' => 'xx1',
[1] => 'y' => 'xx2',
[2] => 'y' => 'xx3',
Is there a way to do this without using a loop?