Re: Iteration III: Packages (was Re: [PHP-DEV] [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript)
| From: | Stephen Reay | Date: | Wed, 03 Jul 2024 11:17:21 +0000 |
| Subject: | Re: Iteration III: Packages (was Re: [PHP-DEV] [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124188@lists.php.net to get a copy of this message | ||
Sent from my iPhone
> On 1 Jul 2024, at 23:33, Mike Schinkel <mike@newclarity.net> wrote:
> Autoloading runs userland code. This means it has the potential conflict between different
> packages with different autoloaders
*Can* run userland code. It doesn't *have to*; FYI spl_autoload
(https://www.php.net/manual/en/function.spl-autoload.php) has existed since php5.1 and works
amazingly well.
That "standards" like psr-whatever can't (read: choose not to) use it says more about
people and maintaining their little fiefdoms than anything else.