Commit eaa63259597 for php.net

commit eaa63259597a46198a4f78d27d55512d043b7ef5
Author: Gina Peter Banyard <girgias@php.net>
Date:   Sun Jun 28 21:35:14 2026 +0100

    ext/phar: remove PHAR_HDR_COMPRESSION* flags as they are unused (#22504)

diff --git a/ext/phar/phar.c b/ext/phar/phar.c
index c64c448c52a..9f0ccc62727 100644
--- a/ext/phar/phar.c
+++ b/ext/phar/phar.c
@@ -831,7 +831,6 @@ static zend_result phar_parse_pharfile(php_stream *fp, const char *fname, size_t

 	SAFE_PHAR_GET_32(buffer, endbuffer, manifest_flags);

-	manifest_flags &= ~PHAR_HDR_COMPRESSION_MASK;
 	manifest_flags &= ~PHAR_FILE_COMPRESSION_MASK;
 	/* remember whether this entire phar was compressed with gz/bzip2 */
 	manifest_flags |= compression;
diff --git a/ext/phar/phar_internal.h b/ext/phar/phar_internal.h
index a7a5581e160..30d863b02f0 100644
--- a/ext/phar/phar_internal.h
+++ b/ext/phar/phar_internal.h
@@ -38,10 +38,6 @@
 #define PHAR_API_MAJORVER_MASK    0xF000
 #define PHAR_API_VER_MASK         0xFFF0

-#define PHAR_HDR_COMPRESSION_MASK 0x0000F000
-#define PHAR_HDR_COMPRESSED_NONE  0x00000000
-#define PHAR_HDR_COMPRESSED_GZ    0x00001000
-#define PHAR_HDR_COMPRESSED_BZ2   0x00002000
 #define PHAR_HDR_SIGNATURE        0x00010000

 /* flags for defining that the entire file should be compressed */