Re: [RFC] [Discussion] Add openStream() to XML{Reader,Writer}

From: Date: Mon, 22 Apr 2024 19:53:54 +0000
Subject: Re: [RFC] [Discussion] Add openStream() to XML{Reader,Writer}
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-123169@lists.php.net to get a copy of this message
On Mon, Apr 22, 2024, at 6:41 PM, Niels Dossche wrote: > Hi internals > > I'm opening the discussion for my RFC "Add openStream() to XML{Reader,Writer}". > RFC link: https://wiki.php.net/rfc/xmlreader_writer_streams > > Kind regards > Niels This seems quite reasonable to me overall. My one question is regarding the writer version. Why is that not a static method, too? I would have expected that to be a "named constructor" just like the reader. --Larry Garfield

« previous php.internals (#123169) next »