PHP if function is called, how to override it with another function
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3927995/override-default-php-function">Override default php function</a>  </p>
</blockquote>



<p>Is there a way to detect that a function is being called and override with a separate function?  I'm not sure function_exists does that.</p>
