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.

Other than that wording issue, I welcome this RFC.  Thank you!

Christoph

Reply via email to