Skip to content

Commit 5269386

Browse files
committed
Fix test for 8.5+
1 parent 4d680fa commit 5269386

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/spl/tests/gh20678.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ $resource = end($resources);
1010
fclose($resource);
1111
?>
1212
--EXPECTF--
13-
14-
Warning: fclose(): %d is not a valid stream resource in %s on line %d
13+
Warning: fclose(): cannot close the provided stream, as it must not be manually closed in %s on line %d

0 commit comments

Comments
 (0)