Commit 526938648ef for php.net
commit 526938648efe12f96f29fef3e346e215810105af
Author: Niels Dossche <7771979+ndossche@users.noreply.github.com>
Date: Sun Dec 14 13:35:03 2025 +0100
Fix test for 8.5+
diff --git a/ext/spl/tests/gh20678.phpt b/ext/spl/tests/gh20678.phpt
index 243f8cef06d..00364db7f80 100644
--- a/ext/spl/tests/gh20678.phpt
+++ b/ext/spl/tests/gh20678.phpt
@@ -10,5 +10,4 @@
fclose($resource);
?>
--EXPECTF--
-
-Warning: fclose(): %d is not a valid stream resource in %s on line %d
+Warning: fclose(): cannot close the provided stream, as it must not be manually closed in %s on line %d