1--TEST--
2GH-15980 (Signed integer overflow in main/streams/streams.c)
3--FILE--
4<?php
5$s = fopen(__FILE__, "r");
6fseek($s, 1);
7$seekres = fseek($s, PHP_INT_MAX, SEEK_CUR);
8$tellres = ftell($s);
9var_dump($seekres === -1 || $tellres > 1);
10?>
11--EXPECT--
12bool(true)
13