[php-src] PR #20216: Additional PDO::FETCH_* tests
| From: | AllenJB | Date: | Sat, 18 Oct 2025 13:25:54 +0000 |
| Subject: | [php-src] PR #20216: Additional PDO::FETCH_* tests | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33699@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20216
Author: AllenJB
Based on my work for https://github.com/php/doc-en/pull/4936
Tests for additional cases I believe should be covered:
* PDO::FETCH_KEY_PAIR tests expanded to cover which values are retained in cases of duplicated key
column values
* PDO::FETCH_NAMED - No tests currently. The order of duplicated column values is something I
believe developers using this mode may rely on
* PDO::FETCH_DEFAULT - No tests currently
I've tested these with pdo_sqlite and pdo_mysql locally