Last active
June 28, 2016 16:04
-
-
Save jonsherrard/aeeaf0639b5dc8a0f1c4b55aa73f3e99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Initial state of array | |
$descriptions = array( | |
array( | |
'author' => 'josh', | |
'bio' => 'Donec vel iaculis urna. Sed.' | |
), | |
array( | |
'author' => 'sarah', | |
'bio' => 'Vestibulum eu consectetur ex. Aliquam.' | |
), | |
array( | |
'author' => 'sarah', | |
'bio' => 'Suspendisse et orci orci. Nullam.' | |
), | |
array( | |
'author' => 'tom', | |
'bio' => 'Aenean eget auctor metus. Ut.' | |
) | |
); | |
// Intermediate step | |
// Final state of array | |
$descriptions = array( | |
array( | |
'author' => 'josh', | |
'bio' => 'Donec vel iaculis urna. Sed.' | |
), | |
array( | |
'author' => 'sarah', | |
'bio' => 'Vestibulum eu consectetur ex. Aliquam.Suspendisse et orci orci. Nullam.' | |
), | |
array( | |
'author' => 'tom', | |
'bio' => 'Aenean eget auctor metus. Ut.' | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment