当前位置:Gxlcms > PHP教程 > phpspl_autoload_register()

phpspl_autoload_register()

时间:2021-07-01 10:21:17 帮助过:35人阅读

php

有三个php文件A,B,C。B, C是纯类文件
A 要使用B, B要使用C。

如何使用spl_autoload_register()一次加载所有类,而不是在A中include B, 在B中include C

人气教程排行