1--TEST--
2exif_read_data() with streams seeking test
3--EXTENSIONS--
4exif
5--INI--
6output_handler=
7zlib.output_compression=0
8--FILE--
9<?php
10$fp = fopen(__DIR__ . '/image027.tiff', 'rb');
11
12fseek($fp, 100, SEEK_SET);
13
14exif_read_data($fp);
15
16var_dump(ftell($fp) === 100);
17
18fclose($fp);
19?>
20--EXPECT--
21bool(true)
22