Re: [RFC] Change Directory class to behave like an opaque object

From: Date: Sat, 14 Sep 2024 17:05:56 +0000
Subject: Re: [RFC] Change Directory class to behave like an opaque object
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-125548@lists.php.net to get a copy of this message
Seems right thing to do. I saw some usage like final class Dir extends Directory { } also did not see much in *new* codes Directory being extended so 8.5 sure. Cheers. On Sat, 14 Sept 2024 at 16:36, Gina P. Banyard <internals@gpb.moe> wrote: > Hello internals, > > 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 > > > Best regards, > > Gina P. Banyard >

« previous php.internals (#125548) next »