Run simple php file or call a single php fuction(same as simple php file) which is better?
<p>I have 2 php files (both's output are same)
I'st file code</p>

<pre><code>&lt;?php
function sampleCode()
{
//code here
}
//end function
sampleCode();
?&gt;
</code></pre>

<p>II'nd file code</p>

<pre><code>&lt;?php
//code here
?&gt;
</code></pre>

<p>which is better and less use cpu when i don't need to recall or include ?</p>
