Unexpected tag T_ECHO in inline if
<p>I have something like this in one of my views</p>

<pre><code>&lt;li &lt;?php $isCurrent ? echo 'class="current"' : ''?&gt; &gt;
    &lt;a href="SOME_LINK" class="SOME_CLASS"&gt;SOME_TEXT&lt;/a&gt;
&lt;/li&gt;
</code></pre>

<p>This causes a syntax error, unexpected T_ECHO. Changing <code>echo</code> for <code>print</code> solves the issue, but I would like to understand why I cannot use <code>echo</code>.</p>
