From 5ec7129b975047a8034dd8f786001328386d041b Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Sat, 8 Aug 2026 18:10:24 -0700 Subject: [PATCH] [`%pS` migration] Use `%pS` in ext/tokenizer --- ext/tokenizer/tokenizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c index e709e7560791..eb36ed6ead95 100644 --- a/ext/tokenizer/tokenizer.c +++ b/ext/tokenizer/tokenizer.c @@ -101,7 +101,7 @@ PHP_METHOD(PhpToken, tokenize) /* Check construction preconditions in advance, so these are not repeated for each token. */ if (token_class->ce_flags & ZEND_ACC_EXPLICIT_ABSTRACT_CLASS) { - zend_throw_error(NULL, "Cannot instantiate abstract class %s", ZSTR_VAL(token_class->name)); + zend_throw_error(NULL, "Cannot instantiate abstract class %pS", token_class->name); RETURN_THROWS(); } if (zend_update_class_constants(token_class) == FAILURE) {