How can defined global variable that will be recognized in all php file (Case inside)?
<p>How can defined global variable ($begin) that will be recognized in all php file?
(please dont change the case code only add, because I working on big project that i can only add code)</p>

<p><em><strong>Case:(problem $begin not recognized in the end of the file)</em></strong></p>

<pre><code>&lt;?php $begin=time()?&gt;
  &lt;div&gt;new name&lt;/div&gt;
&lt;?php   echo time()-$begin; ?&gt;
</code></pre>

<p>Edit:
I have stupid mistake in file, now the code works, thanks</p>

<p>Thanks</p>
