namespace think;// based on most basic think namespace use think\exception\classnotfoundexception ;// think\exception\classnotfoundexception// run No class exception class loader{// class loading, class protected static $instance = [];// protected Static class name mappings is an instantiation of the // class name Mapping protected static $map = [];// class mappings Storage locations Mappings Storage relationships // namespace aliases protected static $namespaceAlias = [];// aliases namespaces aliases // PSR-4 private static $PREFIXLENGTHSPSR 4 = [];// PSR-4 private static $PREFIXDIRSPSR 4 = [];// psr-4 private static $FALLBACKDIRSPSR 4 = [] ;// psr-4 // psr-0 private static $PREFIXESPSR 0 = [];// PSR-0 private static $FALLBACKDIRSPSR 0 = [] ;// psr-0
This article is from the "Focus on PHP Group number: 414194301" blog, please be sure to keep this source http://jingshanls.blog.51cto.com/3357095/1857199
[Li Jingshan php] every day tp5-20161203| Loader.php-1