My previous email had an ambiguous subject line. My apologies. I've moved my RFC to the voting phase.
The proposal: > Add a function that exposes the warning count of the most recent statement for MySQL: $pdo->mysqlGetWarningCount(). It returns an int straight from the MySQL driver. This fixes the open bug at: https://bugs.php.net/bug.php?id=51499. Voting will be open till 2020-07-21 https://wiki.php.net/rfc/pdo-mysql-get-warning-count The pull request (with tests) is here: https://github.com/php/php-src/pull/6677 Thanks for your time! Daniel