Re: [PHP-DEV] [Pre-RFC][Discussion] Native Engine-Level PSR-4 Autoloader
[email protected] (fennic log) Fri, 17 Jul 2026 01:54:57 +0100
| Newsgroups | php.internals |
|---|---|
| Message-ID | <CAO__Xv7q9XsGYTu2qtGctt0H7gFvFn5rOEX1pZdy-2a16cScmA@mail.gmail.com> |
> > > > I implemented a PECL extension doing pretty much this in > https://github.com/ > pprkut/autoload-psr <https://github.com/pprkut/autoload-psr>, minus the > complimenting functions. > > I can't speak for performance benefits as I didn't do any benchmarks, I > don't > think they'd be very noticeable though. My primary motivation for writing > it > was to have an autoloader available from script start. The extension > supports > PSR-0 as well, which fits even better (IMHO) with that workflow since it > means > truly zero setup compared to PSR-4. > > Thanks for pointing this out to me, I'll check it out.