[php-src] master: [`%pS` migration] Use `%pS` in ext/standard/browscap.c

From: Date: Sun, 01 Nov 2026 20:31:57 +0000
Subject: [php-src] master: [`%pS` migration] Use `%pS` in ext/standard/browscap.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-143178@lists.php.net to get a copy of this message
Author: Daniel Scherzer (DanielEScherzer) Date: 2026-11-01T12:30:50-08:00 Commit: https://github.com/php/php-src/commit/e13e9f1dbc18c3b363c8083f0be341a1c206bd6b Raw diff: https://github.com/php/php-src/commit/e13e9f1dbc18c3b363c8083f0be341a1c206bd6b.diff [%pS migration] Use %pS in ext/standard/browscap.c Changed paths: M ext/standard/browscap.c Diff: diff --git a/ext/standard/browscap.c b/ext/standard/browscap.c index 7534615a946b..742fadad562e 100644 --- a/ext/standard/browscap.c +++ b/ext/standard/browscap.c @@ -334,8 +334,8 @@ static void php_browscap_parser_cb(zval *arg1, zval *arg2, zval *arg3, int callb zend_string_equals_ci(ctx->current_section_name, Z_STR_P(arg2)) ) { zend_error(E_CORE_ERROR, "Invalid browscap ini file: " - "'Parent' value cannot be same as the section name: %s " - "(in file %s)", ZSTR_VAL(ctx->current_section_name), zend_ini_string_literal("browscap")); + "'Parent' value cannot be same as the section name: %pS " + "(in file %s)", ctx->current_section_name, zend_ini_string_literal("browscap")); return; }

« previous php.cvs (#143178) next »