in_array confused about strict option
<p>When I use strict option (which I was expected to be the best option since I'm comparing numbers to numbers) if never comes out true. But without strict it works fine! I'm just checking if array already contains post_id. If doesn't not add, if yes don't add duplicate.</p>

<pre><code>if (!in_array($post-&gt;ID, $cookie_value)) {  
    array_unshift($cookie_value, $post-&gt;ID);
}

print_r($cookie_value);

Array ( [0] =&gt; 25 [1] =&gt; 1 )
</code></pre>

<p>So what is the deal here?</p>
