Cómo recuperar el valor de la matriz STDClass en PHP
foreach ($array as $obj)
{
// Here you can access to every object value in the way that you want
echo $obj->next_key_name;
}
Ankur