[php-src] master: Merge branch 'PHP-8.6'
| From: | Weilin Du | Date: | Sun, 27 Sep 2026 17:37:26 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.6' | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-141605@lists.php.net to get a copy of this message | ||
Author: Weilin Du (LamentXU123)
Date: 2026-09-28T01:36:41+08:00
Commit: https://github.com/php/php-src/commit/1039c41bdd93e793aafc856b96e534d653685502
Raw diff: https://github.com/php/php-src/commit/1039c41bdd93e793aafc856b96e534d653685502.diff
Merge branch 'PHP-8.6'
* PHP-8.6:
Fix GH-23899 destructor test expectation
Changed paths:
M ext/zip/tests/gh23899_destructor.phpt
Diff:
diff --git a/ext/zip/tests/gh23899_destructor.phpt b/ext/zip/tests/gh23899_destructor.phpt
index fad10717e592..04a33f150986 100644
--- a/ext/zip/tests/gh23899_destructor.phpt
+++ b/ext/zip/tests/gh23899_destructor.phpt
@@ -28,5 +28,10 @@ echo "Done\n";
<?php
@unlink(__DIR__ . '/gh23899_destructor.zip');
?>
---EXPECT--
+--EXPECTF--
Done
+
+Fatal error: Uncaught TypeError: Return value of callback provided to
ZipArchive::registerCancelCallback() must be of type int, ThrowingDestructor returned in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d