Re: Iteration III: Packages (was Re: [PHP-DEV] [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript)

From: Date: Mon, 01 Jul 2024 17:07:27 +0000
Subject: Re: Iteration III: Packages (was Re: [PHP-DEV] [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript)
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Jul 1, 2024, at 09:22, Mike Schinkel <[email protected]> wrote:
> 2. Autoloading effectively necessitates that every symbol be in its own separate file.

How so? While Composer "recommends" PSR4 autoloading with one class per file, other
configurations are entirely possible, either with Composer's autoload.classmap (which uses a
precomputed class -> filename table), or with a custom autoloader.


Thread (128 messages)

« previous php.internals (#124151) next »