Le 22/08/2017 07:55, Adam Baratz a écrit :
A new method is an API change to me, so an RFC would be warranted. I'm
reluctant to add driver-specific methods, since that seems opposed to
PDO's
driver-agnostic API, but that's not to say we couldn't hash something
out.
Do we need a RFC every time we patch for a missing method ?
Btw there's already sqliteCreateFunction, sqliteCreateAggregate and so
on, so it's pretty much just the continuation of that logic, even though
I don't really like it either (especially as lazy-loading by extending
PDO makes it so that the methods are not accessible until the connection
has been established, which is a weird behaviour imho).
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php