How come my time-value comparison is not working properly?
<pre><code>if (
    isset($get['when'])
    &amp;&amp; !empty($get['when'])
    &amp;&amp; !strtotime($get['when'])
    &amp;&amp; strtotime($get['when']) &lt; time()
)
</code></pre>

<p>Renders false for forexample  <code>strtotime($get['when']) = 2010-12-06</code>, this is less than time() ofc.</p>

<p>If I remove  <code>&amp;&amp; !empty($get['when'])</code> it works fine. Any suggestions why?</p>
