PHP have syntax like this: $expr= $a || $b
<p>In javascript I can do:</p>

<pre><code>$a= $b || $c
</code></pre>

<p>if $b is null or empty then $a=$c, else $a=$b.</p>

<p>there is somthing like that in php?</p>

<p>i tried:</p>

<pre><code>$a=$b &amp;&amp; $c
</code></pre>

<p>but I get $a=true or false, not the value of $b or $c.</p>
