month array not displaying proper value <p>i have month array like</p> <pre><code>$month = array( 01 =&gt; "January", 02 =&gt; "February", 03 =&gt; "March", 04 =&gt; "April", 05 =&gt; "May", 06 =&gt; "June", 07 =&gt; "July", 08 =&gt; "August", 09 =&gt; "September", 10 =&gt; "October", 11 =&gt; "Novemeber", 12 =&gt; "December" ); </code></pre> <p>but when i print_r this it display like this<br><br></p> <pre><code>Array ( [1] =&gt; January [2] =&gt; February [3] =&gt; March [4] =&gt; April [5] =&gt; May [6] =&gt; June [7] =&gt; July [0] =&gt; September [10] =&gt; October [11] =&gt; Novemeber [12] =&gt; December ) </code></pre> <p>it displaying sept as 0 and the month of august is not dispalying.<br></p> <p>can any one please tell me what is the problem with this. <br> Thanks</p>