Fill in the blanks in an array
<p>I have an array which I'd like to show all days of weeks or each month of the year, even if data is 0, is it possible to look inside the array and fill in what's not there?</p>

<p>The data I'm returning from mysql table does not show 0 - details below</p>

<p><a href="http://stackoverflow.com/questions/12659970/show-values-even-if-empty">Show values even if empty</a></p>

<p>So, the following shows months of the year and the count, I'd like to fill in the months which aren't there with i.e. 'Feb' => '0' .. 'Sep' => '0' .. 'Dec' => '0'</p>

<p>Array example:</p>

<pre><code>$data = array(
    'Jan' =&gt; 12,
    'Mar' =&gt; 10,
    'Apr' =&gt; 7,
    'May' =&gt; 80,
    'Jun' =&gt; 67,
    'Jul' =&gt; 45,
    'Aug' =&gt; 66,
    'Oct' =&gt; 23,
    'Nov' =&gt; 78,
);
</code></pre>
