xref: /PHP-8.4/ext/exif/tests/bug50660/bug50660.phpt (revision bd9f4fa6)
1--TEST--
2Bug #50660 (exif_read_data(): Illegal IFD offset (works fine with other exif readers))
3--EXTENSIONS--
4exif
5--INI--
6output_handler=
7zlib.output_compression=0
8--FILE--
9<?php
10$infile = __DIR__.'/bug50660-1.jpg';
11var_dump(exif_read_data($infile) !== false);
12$infile = __DIR__.'/bug50660-2.jpg';
13var_dump(exif_read_data($infile) !== false);
14?>
15--EXPECT--
16bool(true)
17bool(true)
18