I've gotten very little feedback on the "should I make an RFC about this?"
question, so I went ahead and made an RFC:
https://wiki.php.net/rfc/pdo-mysql-get-warning-countThis is about a feature in an open pull request:
https://github.com/php/php-src/pull/6677
which addresses an open issue in the bug tracker:
https://bugs.php.net/bug.php?id=51499
The problem is that many consider adding driver specific methods to the
PDO class a no-go. That resulted in a PDO_SQLITE specific RFC[1] to be
declined. The preferred solution apparently would be to introduce
proper subclasses for each driver. I am not sure whether this is viable
at all, though. Unfortunate situation. :(
[1] https://wiki.php.net/rfc/implement_sqlite_openblob_in_pdo
--
Christoph M. Becker