Re: [RFC] Change Directory class to behave like an opaque object
| From: | Gina P. Banyard | Date: | Wed, 02 Oct 2024 10:55:15 +0000 |
| Subject: | Re: [RFC] Change Directory class to behave like an opaque object | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-125726@lists.php.net to get a copy of this message | ||
On Wednesday, 2 October 2024 at 00:32, Larry Garfield <larry@garfieldtech.com> wrote:
>
> I have no strong opinions on this RFC as I've not paid close attention to it, but "we
> can't introduce an unnamespaced class, that's a BC break" is simply not true, and not
> consistent with how Internals and the stdlib are and have been developed.
>
This is not a new class, it is a class that has existed since the PHP 4 days.
Arguably, if this would be a new class, that argument would have more merit..
But changing the name of class that is 20+ years old and could have been used in type declarations
since possibly PHP 5.0 is a non-starter IMHO.
Best regards,
Gina P. Banyard