PHP: Use function outside current function
<p>can I use a function that is outside the current function?</p>

<p>eg.</p>

<pre><code>function one($test){
return 1;
}
function two($id){
one($id);
}
</code></pre>

<p>Seems like i cant, how should I do it then to use the function that are outside? Thanks</p>

<p>The function is in the same file.. /</p>
