Re: Proposal: namespace the SPL
| From: | Rowan Tommins | Date: | Thu, 11 Feb 2021 18:29:24 +0000 |
| Subject: | Re: Proposal: namespace the SPL | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-113147@lists.php.net to get a copy of this message | ||
On 11/02/2021 16:39, Levi Morrison wrote:
2. Any new types going intoI think having this rule mentioned and agreed somewhere at least is a good idea. We could perhaps in future look at moving those parts currently labelled as "spl" which *don't* fall into those categories somewhere else. It's weird that you can now _only_ use autoloading via a function prefixed "spl_", even though it's a language feature. Regards, -- Rowan Tommins [IMSoP]ext/spluse theSplnamespace. New types added toext/splshould be either related to data structures or iterators, which is the bulk of what the SPL is.a. This rule is to help prevent the SPL from becoming the dumpinggrounds for new types.