Re: PDO Subclasses coming to vote soon.

From: Date: Tue, 27 Jun 2023 17:25:48 +0000
Subject: Re: PDO Subclasses coming to vote soon.
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-120702@lists.php.net to get a copy of this message
On Tue, Jun 27, 2023, at 5:20 PM, Dan Ackroyd wrote: > On Tue, 27 Jun 2023 at 17:25, Larry Garfield <larry@garfieldtech.com> wrote: >> >> The RFC doesn't specify if new PDO(...) changes >> behavior at all. > > That behaviour is not changed at all. > >> will PDO still have the postgres methods > > Yes, until someone does another RFC to deprecate and remove them. > >> if someone does [new PDO(...)], will they now get back >> PdoPgsql, > > No. > > New`ing one object, and getting a different object back would be far > too surprising to even be contemplated. > > cheers > Dan > Ack OK, thanks. I'm fine with that approach, but it would be good to make it explicit, and probably add a Future Scope for "we should probably remove the base versions eventually in a few versions" or something. --Larry Garfield

« previous php.internals (#120702) next »