function_exists php
<p>I'm trying to write a function that could receive it's second arg a name of a function.
In order to validate function's name (that will be used in an eval statement) I use function_exists such as:</p>

<pre><code>if(function_exists($type)){
    $toEval= $type.'(\''.$file.'\');';
  }else{
</code></pre>

<p>But if the arg sent is include or require (with 'once' variations) this code fails (function_exists returns false).</p>
