response->docs); ?>
Outputs the following:
Array ( [0] => Object (
You can quickly convert deeply nested objects to associative arrays by relying on the behavior of the JSON encode/decode functions:
$array = json_decode(json_encode($response->response->docs), true);