title: Alternate to array_column()
body: <p>I have used <code>array_column()</code> in a project, and after uploading I found out that only PHP 5.5 or above support this function, and I think the hosting I use don't support PHP 5.5 or above.</p>
  
  <p>So I want to know if is there any alternate to fix this error?</p>
  
  <p>This is how I am using <code>array_count</code> in my project:</p>
  
  <pre><code>array_count_values(array_column(json_decode(json_encode($queryResultArray), true), $idForBar));
  </code></pre>
  
  <p>This is working fine in my local xampp and wampp also, but on server it is giving issue. Looking any alternate function or solution.</p>