Skip to content

Commit 038ebbc

Browse files
Merge branch 'PHP-8.6'
* PHP-8.6: [`%pS` migration] Use `%pS` in ext/tokenizer (#23171)
2 parents 2842fa7 + 176f84c commit 038ebbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ext/tokenizer/tokenizer.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ PHP_METHOD(PhpToken, tokenize)
9999

100100
/* Check construction preconditions in advance, so these are not repeated for each token. */
101101
if (token_class->ce_flags & ZEND_ACC_EXPLICIT_ABSTRACT_CLASS) {
102-
zend_throw_error(NULL, "Cannot instantiate abstract class %s", ZSTR_VAL(token_class->name));
102+
zend_throw_error(NULL, "Cannot instantiate abstract class %pS", token_class->name);
103103
RETURN_THROWS();
104104
}
105105
if (zend_update_class_constants(token_class) == FAILURE) {

0 commit comments

Comments
 (0)