Skip to content

Instantly share code, notes, and snippets.

Created December 7, 2017 12:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/73084870d786ca585a7c7c1140fc3308 to your computer and use it in GitHub Desktop.
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