What is the difference between include() and calling a function in PHP?
<p>What is the difference between include() and calling a function in PHP? 
For example :</p>

<p>1-</p>

<pre><code>&lt;?php
   $foo = '&lt;p&gt;bar&lt;/p&gt;';
   return $foo;
 ?&gt;
&lt;html&gt;&lt;body&gt;&lt;?php echo $foo; ?&gt;&lt;/body&gt;&lt;/html&gt;
</code></pre>

<p>2-insert above php code in a php file and include()
thanks in advance </p>
