Skip to content

Commit 69b4e6d

Browse files
committed
Fix fseek undefined behavior
1 parent 5f49264 commit 69b4e6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/basic/bug20964.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ $result = fseek($stream, PHP_INT_MIN, SEEK_END);
88
var_dump($result);
99
?>
1010
--EXPECTF--
11-
int(%d)
11+
int(-1)

0 commit comments

Comments
 (0)