spl_autoload_register conflicting with other autoloads
<p>i have the following code in files</p>

<p>file one has this </p>

<pre><code>spl_autoload_register(function($class){
    $class = str_replace('\\', '/', $class);
    require_once('' . $class . '.php');
});
</code></pre>

<p>file two has this</p>

<pre><code>require_once('Autoload.php');
</code></pre>

<p>and file 3 is calling files one and two like this</p>

<pre><code>include_once('file1.php');

//some codes
include('file2.php')
</code></pre>

<p>now for some reason when i run file3.php it is giving me this error</p>

<p>failed to open stream: Failed opening required 'Autoload.php'/home/public_html/folder/file1.php on line 26</p>

<p>now i did some research on sp1_autoload_register and it appears that $class may have been defined in file2 and that is triggering the not found error, I suspect that there is another sp1_autoload_register in file2's autoload.php but the included files in there are ioncubed. how can I know if there are additional sp1_autoload_register functions in the encoded files?</p>
