print working and echo not working in php
<p>The below code is working with only print statement</p>

<pre><code> file_exists('index.php') || print "hi"; \\ works fine and prints hi



 file_exists('index.php') || echo "hi";  \\ error 
</code></pre>

<p>Why does <code>print</code> work but <code>echo</code> causes a parse error?</p>
