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

From: Date: Fri, 30 Oct 2026 19:29:07 +0000
Subject: [php-src] master: Merge branch 'PHP-8.6'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-143030@lists.php.net to get a copy of this message
Author: Daniel Scherzer (DanielEScherzer) Date: 2026-10-30T12:28:41-07:00 Commit: https://github.com/php/php-src/commit/384a65c3fbd7020b6a5491734fd7cdcaaddbd9a8 Raw diff: https://github.com/php/php-src/commit/384a65c3fbd7020b6a5491734fd7cdcaaddbd9a8.diff Merge branch 'PHP-8.6' * PHP-8.6: [%pS migration] Use %pS in ext/pdo_pgsql (#23163) Changed paths: M ext/pdo_pgsql/pgsql_driver.c Diff: diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c index 548a47c3ee83..bdb8a067e61b 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -1534,11 +1534,11 @@ static int pdo_pgsql_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /* {{{ /* support both full connection string & connection string + login and/or password */ if (tmp_user) { - smart_str_append_printf(&conn_str, " user='%s'", ZSTR_VAL(tmp_user)); + smart_str_append_printf(&conn_str, " user='%pS'", tmp_user); } if (tmp_pass) { - smart_str_append_printf(&conn_str, " password='%s'", ZSTR_VAL(tmp_pass)); + smart_str_append_printf(&conn_str, " password='%pS'", tmp_pass); } smart_str_0(&conn_str);

« previous php.cvs (#143030) next »