When working with a stdClass object returned from a database query, specifically: $ object = ...
php.chinaunix.net