need help with drupal arrays my array for $var gave me the following $var dump

stdClass Object

    (
        [vid] =&gt; 71
        [uid] =&gt; 1
        [title] =&gt; dr1
        [log] =&gt; 
        [status] =&gt; 1
        [comment] =&gt; 1
        [promote] =&gt; 1
        [sticky] =&gt; 0
        [nid] =&gt; 71
        [type] =&gt; doc_upload
        [language] =&gt; und
        [created] =&gt; 1378359025
        [changed] =&gt; 1378359025
        [tnid] =&gt; 0
        [translate] =&gt; 0
        [revision_timestamp] =&gt; 1378359025
        [revision_uid] =&gt; 1
        [body] =&gt; Array
            (
            )

        [field_upload] =&gt; Array
            (
                [und] =&gt; Array
                    (
                        [0] =&gt; Array
                            (
                                [fid] =&gt; 59
                                [display] =&gt; 1
                                [description] =&gt; 
                                [uid] =&gt; 1
                                [filename] =&gt; drupal-7.23.zip
                                [uri] =&gt; public://documents/drupal-7.23.zip
                                [filemime] =&gt; application/zip
                                [filesize] =&gt; 3646168
                                [status] =&gt; 1
                                [timestamp] =&gt; 1378359025
                            )

                    )

            )


i need to take the value of [uri]... (indicated above) in a variable. Plz help
$uri = $var->field_upload[und][0][uri];

For object you need to use the notation '->' for tracing the object and $var is the variable which gave you the array .