title: Difficulty with 'array_column'
body: <p>I have built an array as follows: </p>
  
  <pre><code>while($row = mysqli_fetch_array($result))
    {
   $universe[] = $row;
  }
  </code></pre>
  
  <p>The print_r output is as follows:</p>
  
  <pre><code>Array ( [0] =&gt; 
     Array ( [0] =&gt; 1 [ID] =&gt; 1 [1] =&gt; Russian Federation - Conventional [Misc1] =&gt; Russian Federation - Conventional [2] =&gt; RUS.Con1 [Misc2] =&gt; RUS.Con1 [3] =&gt; [Misc3] =&gt; [4] =&gt; [Misc4] =&gt; [5] =&gt; 13.13 [1980] =&gt; 13.13 [1981] =&gt; 13.13 [1982] =&gt; 13.13 [1983] =&gt; 13.13 [1984] =&gt; 13.13 [1985] =&gt; 13.13 [1986] =&gt; 13.13) 
          [1] =&gt; 
     Array ( [0] =&gt; 2 [ID] =&gt; 2 [1] =&gt; Saudi Arabia - Conventional [Misc1] =&gt; Saudi Arabia - Conventional [2] =&gt; SAU.Con1 [Misc2] =&gt; SAU.Con1 [3] =&gt; [Misc3] =&gt; [4] =&gt; [Misc4] =&gt; [5] =&gt; 4.47 [1980] =&gt; 4.47 [1981] =&gt; 4.47 [1982] =&gt; 4.47 [1983] =&gt; 4.47 [1984] =&gt; 4.47 [1985] =&gt; 4.47 [1986] =&gt; 4.47 ) etc ...
  </code></pre>
  
  <p>I am now trying to get an array of all values in column [1980].. So I do the following, but get a blank. Any ideas? Also -why am I getting an unecessary array wrapping everything?</p>
  
  <pre><code>print_r($universe);
  $hi = array_column($universe, '1980');
  print_r($hi); 
  </code></pre>