[php-src] master: Merge branch 'PHP-8.6'
| From: | Weilin Du | Date: | Wed, 30 Sep 2026 11:08:28 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.6' | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-141762@lists.php.net to get a copy of this message | ||
Author: Weilin Du (LamentXU123)
Date: 2026-09-30T19:05:38+08:00
Commit: https://github.com/php/php-src/commit/0b31083bd514e93da2916caa29315cca3699861e
Raw diff: https://github.com/php/php-src/commit/0b31083bd514e93da2916caa29315cca3699861e.diff
Merge branch 'PHP-8.6'
* PHP-8.6:
Fix GH-24006: Skip gh18431.phpt when libzip lacks progress callbacks (#24009)
Changed paths:
M ext/zip/tests/gh18431.phpt
Diff:
diff --git a/ext/zip/tests/gh18431.phpt b/ext/zip/tests/gh18431.phpt
index d4eb89c36c6b..b4225238ac38 100644
--- a/ext/zip/tests/gh18431.phpt
+++ b/ext/zip/tests/gh18431.phpt
@@ -2,6 +2,12 @@
GH-18431 (Registering ZIP progress callback twice doesn't work)
--EXTENSIONS--
zip
+--SKIPIF--
+<?php
+if (!method_exists(ZipArchive::class, 'registerProgressCallback')) {
+ die('skip progress callbacks are not supported');
+}
+?>
--FILE--
<?php
$file = __DIR__ . '/gh18431.zip';