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  How to depreciate a class in PHP comments?

Leave a Reply

Your email address will not be published. Required fields are marked *

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