title: Can you pass by reference while using the ternary operator?
body: <p>Simple question, simple code. This works:</p>
  
  <pre><code>$x = &amp;$_SESSION['foo'];
  </code></pre>
  
  <p>This does not:</p>
  
  <pre><code>$x = (isset($_SESSION['foo']))?&amp;$_SESSION['foo']:false;
  </code></pre>
  
  <p>It throws <code>PHP Parse error:  syntax error, unexpected '&amp;'</code>. Is it just not possible to pass by reference while using the conditional operator, and why not? Also happens if there's a space between the <code>?</code> and <code>&amp;</code>.</p>