Skip to content

How to retrieve value from stdclass array in PHP?

foreach ($array as $obj)
{
    // Here you can access to every object value in the way that you want
    echo $obj->next_key_name;
}
See also  Sort a dictionary by key in Python

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.