From 526938648efe12f96f29fef3e346e215810105af Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+ndossche@users.noreply.github.com> Date: Sun, 14 Dec 2025 13:35:03 +0100 Subject: [PATCH] Fix test for 8.5+ --- ext/spl/tests/gh20678.phpt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 @@ $resource = end($resources); 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