I have an indexed array that contains a nested associative array AND a nested indexed array:
$myArray = array (
0 => array (
'name' => 'Paul',
'age' => '23',
'hobbies' => array (
0 => 'basketball',
),
'pets' => 'dog',
),
);
How can I access all of these values and convert them into variables?