title: PHP 7 array columns not working for multidimensional array
body: <p>Below is my array structure:</p>
  
  <pre><code>Array
  (
      [2016-09-01] =&gt; Array
          (
              [1] =&gt; Array
                  (
                      [hours_type_id] =&gt; 1
                      [date] =&gt; 2016-09-01
                      [hours] =&gt; 8.00
                      [ts_weekly_id] =&gt; 53428
                  )
  
              [2] =&gt; Array
                  (
                      [hours_type_id] =&gt; 2
                      [date] =&gt; 2016-09-01
                      [hours] =&gt; 0.00
                      [ts_weekly_id] =&gt; 53428
                  )
  
              [10] =&gt; Array
                  (
                      [hours_type_id] =&gt; 10
                      [date] =&gt; 2016-09-01
                      [hours] =&gt; 0.00
                      [ts_weekly_id] =&gt; 53428
                  )
  
          )
  </code></pre>
  
  <p>I am trying to get all hours column in another array.</p>
  
  <p>Below is the code:</p>
  
  <pre><code>$billcols   = array_column($billhours, "hours");
  </code></pre>
  
  <p>Is there any other function to get columns in array other than array_column which will work for multidimensional array like show above.</p>