Skip to content

Commit a51869a

Browse files
committed
Fix test by using a format specifier for resource to int conversion
Surprised this worked for so long
1 parent 93c5321 commit a51869a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/spl/tests/bug62978.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ bool(false)
4949

5050
Warning: Resource ID#%d used as offset, casting to integer (%d) in %sbug62978.php on line %d
5151

52-
Warning: Undefined array key 5 in %s on line %d
52+
Warning: Undefined array key %d in %s on line %d
5353
NULL

0 commit comments

Comments
 (0)