Hi, 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-count
This 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 Thanks for your consideration! Daniel