In PHP, Is "if($value)" the reciprocal of "if(empty($value))"?
<p>In generating a <code>select</code> tag for a Boolean value, I use the following code:</p>

<pre><code>&lt;select name="name" id="id"&gt;
    &lt;option value="0"&lt;?php if(empty($value)): ?&gt; selected="selected"&lt;?php endif; ?&gt;&gt;Off&lt;/option&gt;
    &lt;option value="1"&lt;?php if($value): ?&gt; selected="selected"&lt;?php endif; ?&gt;&gt;Off&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>So, the question is, will this map correctly, so that at no point, both the options will have a <code>selected="selected"</code> property?</p>
