counting array with both integer and string keys
<pre><code>echo count(array("1" =&gt; "A", 1 =&gt; "B", "C", 2 =&gt; "D"));
</code></pre>

<p>This outputs 2. I've played around with it and noticed that PHP identifies both string numbers and integers the same when used as keys in an array. Seems like integers are prioritized. Also when I var_dump the array only elements containing the value "B" and "D" are displayed. I understand why "A" is not displayed but why is "C" not in the var_dump?</p>
