title: Why am I getting "Only variables should be passed by reference" error?
body: <p>Check out this code:</p>
  
  <pre><code>$last = end($p = explode('/', $someString));  
  </code></pre>
  
  <p>Getting this notice:</p>
  
  <blockquote>
    <p>Only variables should be passed by reference</p>
  </blockquote>
  
  <p>I'm really confused because <code>$p</code> is a variable.</p>