Commit fe81f3d2b40 for php

commit fe81f3d2b40a39b8cce73a2493759365bffe4c3b
Author: Weilin Du <weilindu@php.net>
Date:   Mon Sep 28 01:36:27 2026 +0800

    Fix GH-23899 destructor test expectation

    The cancel callback returns a ThrowingDestructor object, which is not a
    valid integer return value. Return-type validation reports a TypeError
    during shutdown, so expecting only "Done" is incorrect.

    Use EXPECTF to include the error while allowing the shutdown filename and
    line number to vary.

diff --git a/ext/zip/tests/gh23899_destructor.phpt b/ext/zip/tests/gh23899_destructor.phpt
index fad10717e59..04a33f15098 100644
--- a/ext/zip/tests/gh23899_destructor.phpt
+++ b/ext/zip/tests/gh23899_destructor.phpt
@@ -28,5 +28,10 @@ public function __destruct() {
 <?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