Commit ebee4e76a83 for php
commit ebee4e76a83507be2f169c139b4271f83b6321ef
Merge: 754e0b2a7c9 10e7030db65
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Sun Nov 15 10:01:25 2026 -0800
Merge branch 'PHP-8.6'
* PHP-8.6:
[`%pS` migration] Use `%pS` in ext/pdo (#23162)
diff --cc ext/pdo/pdo_stmt.c
index ce4253c82c9,e701dff3f0c..07dbe915b7b
--- a/ext/pdo/pdo_stmt.c
+++ b/ext/pdo/pdo_stmt.c
@@@ -293,7 -306,12 +293,7 @@@ static bool really_register_bound_param
/* if you prepare and then execute passing an array of params keyed by names,
* then this will trigger, and we don't want that */
if (param->paramno == -1) {
- zend_argument_value_error(1, "must refer to a column present in the result set, \"%s\" given", ZSTR_VAL(param->name));
- /* Should this always be an Error? */
- char *tmp;
- /* TODO Error? */
- spprintf(&tmp, 0, "Did not find column name '%pS' in the defined columns; it will not be bound", param->name);
- pdo_raise_impl_error(stmt->dbh, stmt, "HY000", tmp);
- efree(tmp);
++ zend_argument_value_error(1, "must refer to a column present in the result set, \"%pS\" given", param->name);
return false;
}
}