[php-src] PR #21863: ext/pdo: update pdo_set_fetch_mode_errors expect for GH-20214
| From: | iliaal | Date: | Fri, 24 Apr 2026 11:11:18 +0000 |
| Subject: | [php-src] PR #21863: ext/pdo: update pdo_set_fetch_mode_errors expect for GH-20214 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35880@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21863
Author: iliaal
Follow-up to #21434. After that fix,
setFetchMode rejects
FETCH_CLASSTYPE|FETCH_PROPS_LATE when the base mode is not FETCH_CLASS.
The Mode 16 case in the second loop of pdo_set_fetch_mode_errors.phpt still expected
bool(true), so common.phpt fails across every PDO driver once the fix
merged up to PHP-8.5. This aligns the expected output with the thrown ValueError.