English
php
autoloader
performance
framework
shinobi-apps-framework
The custom PHP autoloader: a 4-prefix lookup table and one is_file() call
A complete PSR-4-compatible autoloader in 50 lines. Four namespace prefixes, one is_file() check per class load, and OPcache doing the actual caching. No class-map generation step, no Composer runtime, no regex. Here's exactly how it works.