Bootstraping all functions in PHP
<p>This is a bit of a crazy idea, but would there be a way to bootstrap all the functions that php have without using a helper function to call the functions.</p>

<p>What I mean is actually calling some code or function before and after every basic function call.</p>

<p>Example:</p>

<pre><code>&lt;?php
echo "Hello";
?&gt;
</code></pre>

<p>But these functions would be called before echo and after echo:</p>

<pre><code>&lt;?php
function pre_echo()
{
  do_something();
}

function post_echo()
{
  do_something_else();
}
?&gt;
</code></pre>
