Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
What I have
[
(int) 0 => [
'Field' => 'Name',
'Criteria' => 'Test'
],
(int) 1 => [
'Field' => 'Name',
'Criteria' => 'Sofia'
],
(int) 2 => [
'Field' => 'Name',
'Criteria' => 'Mark'
],
]
WHat I need to transform to
[
[
'Field' => 'Name',
'Criteria' => 'Test'
],
[
'Field' => 'Name',
'Criteria' => 'Sofia'
],
[
'Field' => 'Name',
'Criteria' => 'Mark'
],
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.