<?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:/phpStudy/WWW/mircoweb/mircoweb/wwwroot/Public/cds.php on line 18
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/18981.html