On 6/20/22 18:01, Dan Ackroyd wrote:
Hi,

Following previous discussions, here is an RFC to have DB specific
classes for PDO.

https://wiki.php.net/rfc/pdo_driver_specific_subclasses

cheers
Dan
Ack

Is there a reason we shouldn't go ahead and add subclasses for all database connection types, even if they won't have new methods added to them?

For example, if I create a connection to MySQL with PDO::connect, I would get back a PDOMysql instance, and so forth.

--
Cheers,
Ben

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

Reply via email to