title: Get first value of an array
body: <p>I have an array:</p>
  
  <pre><code>Array (
  [0] =&gt; Array
      (
          [0] =&gt; Pen
          [1] =&gt; Apple
      )
  
  [1] =&gt; Array
      (
          [0] =&gt; Oooo
          [1] =&gt; Pineapple pen
      )
  </code></pre>
  
  <p>How I can get a first elements of each array?</p>
  
  <p>For example: Pen Oooo</p>
  
  <p>It's my function </p>
  
  <pre><code>$parameters = array('wiki_1', 'wiki_2', 'wiki_3', 'wiki_4','wiki_5' ,'wiki_6', 'wiki_7', 'wiki_8', 'wiki_9', 'wiki_10', 'wiki_11', 'wiki_12');
  
  function wiki_custom_fields( $parameters, $id ) {
          foreach ($parameters as $parameter) {
             $wiki_result[] = get_post_custom_values($parameter, $id, true);
          }
  
      echo '&lt;pre&gt;';
      print_r($wiki_result);
      echo '&lt;/pre&gt;';
  }
  </code></pre>
  
  <p>If I use <code>print_r($wiki_result[][0]);</code> it's get 500 Error.</p>