From 3b95ae4811e4b89213d6a83e898e3b6e8ad9f54e Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Sat, 8 Aug 2026 17:07:02 -0700 Subject: [PATCH] [`%pS` migration] Use `%pS` in ext/pcntl --- ext/pcntl/pcntl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index 14f26291c045..933e9c4ddc81 100644 --- a/ext/pcntl/pcntl.c +++ b/ext/pcntl/pcntl.c @@ -1803,7 +1803,7 @@ PHP_FUNCTION(pcntl_setcpuaffinity) if (Z_TYPE_P(ncpu) == IS_STRING) { zend_ulong tmp; if (!ZEND_HANDLE_NUMERIC(Z_STR_P(ncpu), tmp)) { - zend_argument_value_error(2, "cpu id invalid value (%s)", ZSTR_VAL(Z_STR_P(ncpu))); + zend_argument_value_error(2, "cpu id invalid value (%pS)", Z_STR_P(ncpu)); PCNTL_CPU_DESTROY(mask); RETURN_THROWS(); }