Fallthrough variable assignment in PHP?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1013493/coalesce-function-for-php">Coalesce function for PHP?</a>  </p>
</blockquote>



<p>I'm not sure what this is normally called, but I hope the title communicates well enough. What I have is a handful of variables some of which might be null.</p>

<p>I want to do:</p>

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

<p>Where $a ends up being = to the first non-null variable.</p>
