<?php function test1(){ echo 'test1'; } function test2(){ echo 'test2'; } spl_autoload_register('test1',true,true); spl_autoload_register('test2',true,true); new D(); ?>
test2test1
Fatal error: Class 'D' not found in G:phpStudyWWWmircowebmircowebwwwrootPubliccds.php on line 18