Ternary Operator - What am I doing wrong?
<pre><code>$profilePic = isset( $userservice-&gt;getProfilePic($userid))      
              ?  filter($userservice-&gt;getProfilePic($userid)) 
              : '&lt;img&gt;&lt;/img&gt;';
</code></pre>

<p>Returns the error:</p>

<pre><code>Fatal error: Can't use method return value in write context
</code></pre>

<p>What am I doing wrong here?</p>
