title: How can I access an array/object?
body: <p>I have the following array and when I do <code>print_r(array_values($get_user));</code>, I get:</p>
  
  <pre><code>Array (
            [0] =&gt; 10499478683521864
            [1] =&gt; 07/22/1983
            [2] =&gt; email@saya.com
            [3] =&gt; Alan [4] =&gt; male
            [5] =&gt; Malmsteen
            [6] =&gt; https://www.facebook.com  app_scoped_user_id/1049213468352864/
            [7] =&gt; stdClass Object (
                     [id] =&gt; 102173722491792
                     [name] =&gt; Jakarta, Indonesia
            )
            [8] =&gt; id_ID
            [9] =&gt; El-nino
            [10] =&gt; Alan El-nino Malmsteen
            [11] =&gt; 7
            [12] =&gt; 2015-05-28T04:09:50+0000
            [13] =&gt; 1
          ) 
  </code></pre>
  
  <p>I tried to access the array as followed:</p>
  
  <pre><code>echo $get_user[0];
  </code></pre>
  
  <p>But this displays me:</p>
  
  <blockquote>
    <p>undefined 0</p>
  </blockquote>
  
  <p><strong>Note:</strong></p>
  
  <p>I get this array from the <strong>Facebook SDK 4</strong>, so I don't know the original array structure.</p>
  
  <p>How can I access as an example the value <code>email@saya.com</code> from the array?</p>