cara mengambil nilai dari array stdclass di 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