[php-src] master: Merge branch 'PHP-8.4' into PHP-8.5

From: Date: Tue, 06 Oct 2026 00:16:42 +0000
Subject: [php-src] master: Merge branch 'PHP-8.4' into PHP-8.5
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-141985@lists.php.net to get a copy of this message
Author: Ilia Alshanetsky (iliaal) Date: 2026-10-05T20:05:39-04:00 Commit: https://github.com/php/php-src/commit/05f7a9ad4ac54a93e724c7f3d067581824ac26e7 Raw diff: https://github.com/php/php-src/commit/05f7a9ad4ac54a93e724c7f3d067581824ac26e7.diff Merge branch 'PHP-8.4' into PHP-8.5 * PHP-8.4: ext/pdo: Return false from rewrite_name_to_position() on IM001 error Changed paths: M ext/pdo/pdo_stmt.c Diff: diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 8a33cb74ddb5..a343117cbc0c 100644 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -76,7 +76,7 @@ static inline bool rewrite_name_to_position(pdo_stmt_t *stmt, struct pdo_bound_p if (param->paramno >= 0) { /* TODO Error? */ pdo_raise_impl_error(stmt->dbh, stmt, "IM001", "PDO refuses to handle repeating the same :named parameter for multiple positions with this driver, as it might be unsafe to do so. Consider using a separate name for each parameter instead"); - return -1; + return false; } param->paramno = position; return 1;

« previous php.cvs (#141985) next »