On Saturday, 14 September 2024 at 18:48, Christoph M. Becker <cmbecke...@gmx.de> wrote:
> On 14.09.2024 at 17:33, Gina P. Banyard wrote: > > > I came across the Directory class while doing some code exploration of > > ext/standard. > > This class is effectively an opaque object for Directory resources, however > > it doesn't behave like one, as it has existed since PHP 4. > > > > As such, I am proposing an RFC to turn this class into an opaque object. > > > > RFC: https://wiki.php.net/rfc/directory-opaque-object > > > As I see it, an opaque object is an object which doesn't have any public > members. Since Directory has five public members, I wouldn't call it > opaque. Eh, GMP is also "kinda" an opaque object, and I don't really have any better naming idea, so I went with what is the closest common concept we have. But if you have any idea for better terminology, I would gladly use it. Best regards, Gina P. Banyard