On Tue, Jun 27, 2023, at 5:20 PM, Dan Ackroyd wrote:
> On Tue, 27 Jun 2023 at 17:25, Larry Garfield <la...@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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to