How to show stdclass object as text only?


#1

how to show stdclass object to text only
stdClass Object
(
[id] => 1069659090
[id_str] => 1069659090
[name] => Hate Mental
[screen_name] => HateMental
[location] => Teh internets
[description] =>
[url] =>
[entities] => stdClass Object
(
[description] => stdClass Object
(
[urls] => Array
(
)

            )

    )

[protected] => 
[followers_count] => 84
[friends_count] => 80
[listed_count] => 0
[created_at] => Tue Jan 08 01:25:17 +0000 2013
[favourites_count] => 2
[utc_offset] => 
[time_zone] => 
[geo_enabled] => 
[verified] => 
[statuses_count] => 9472
[lang] => en
[status] => stdClass Object
    (
        [created_at] => Fri Dec 20 08:05:58 +0000 2013
        [id] => 413943343614541824
        [id_str] => 413943343614541824
        [text] => ok
        [source] => 黒雪姫
        [truncated] => 
        [in_reply_to_status_id] => 
        [in_reply_to_status_id_str] => 
        [in_reply_to_user_id] => 
        [in_reply_to_user_id_str] => 
        [in_reply_to_screen_name] => 
        [geo] => 
        [coordinates] => 
        [place] => 
        [contributors] => 
        [retweet_count] => 0
        [favorite_count] => 0
        [entities] => stdClass Object
            (
                [hashtags] => Array
                    (
                    )

                [symbols] => Array
                    (
                    )

                [urls] => Array
                    (
                    )

                [user_mentions] => Array
                    (
                    )

            )

        [favorited] => 
        [retweeted] => 
        [lang] => und
    )

[contributors_enabled] => 
[is_translator] => 
[profile_background_color] => FFFFFF
[profile_background_image_url] => http://abs.twimg.com/images/themes/theme1/bg.png
[profile_background_image_url_https] => https://abs.twimg.com/images/themes/theme1/bg.png
[profile_background_tile] => 
[profile_image_url] => http://pbs.twimg.com/profile_images/378800000840761095/f9a945d4a78d3202f687e1699f7d4025_normal.jpeg
[profile_image_url_https] => https://pbs.twimg.com/profile_images/378800000840761095/f9a945d4a78d3202f687e1699f7d4025_normal.jpeg
[profile_link_color] => 0084B4
[profile_sidebar_border_color] => C0DEED
[profile_sidebar_fill_color] => DDEEF6
[profile_text_color] => 333333
[profile_use_background_image] => 1
[default_profile] => 
[default_profile_image] => 
[following] => 
[follow_request_sent] => 
[notifications] => 

)
example this
[id] => 1069659090
i need to shw the 1069659090 only
i think its like $_SESSION[‘id’]=1069659090
But i dont know how to call it