[php-src] master: Merge branch 'PHP-8.6'

From: Date: Tue, 06 Oct 2026 00:16:44 +0000
Subject: [php-src] master: Merge branch 'PHP-8.6'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-141987@lists.php.net to get a copy of this message
Author: Ilia Alshanetsky (iliaal) Date: 2026-10-05T20:12:24-04:00 Commit: https://github.com/php/php-src/commit/91b93bcce489106e4e01c392271e68c78cb9b6a4 Raw diff: https://github.com/php/php-src/commit/91b93bcce489106e4e01c392271e68c78cb9b6a4.diff Merge branch 'PHP-8.6' * PHP-8.6: 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 ebeda0246cf1..8ca23a82a443 100644 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -74,7 +74,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 true;

« previous php.cvs (#141987) next »