Commit 7ae1cd5ccbb for php
commit 7ae1cd5ccbb0c225ef06575cdd4f6557f3378652
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Sat Aug 8 17:53:07 2026 -0700
[`%pS` migration] Use `%pS` in ext/phar/phar.c
diff --git a/ext/phar/phar.c b/ext/phar/phar.c
index f64f27bac38..bee5fe796eb 100644
--- a/ext/phar/phar.c
+++ b/ext/phar/phar.c
@@ -3215,7 +3215,7 @@ static zend_op_array *phar_compile_file(zend_file_handle *file_handle, int type)
zend_file_handle f;
/* zip or tar-based phar */
- name = zend_strpprintf(4096, "phar://%s/%s", ZSTR_VAL(file_handle->filename), ".phar/stub.php");
+ name = zend_strpprintf(4096, "phar://%pS/%s", file_handle->filename, ".phar/stub.php");
zend_stream_init_filename_ex(&f, name);
if (SUCCESS == zend_stream_open_function(&f)) {
zend_string_release(f.filename);