xref: /PHP-8.2/ext/exif/tests/bug77184/bug77184.phpt (revision bd9f4fa6)
1--TEST--
2Bug #74428 (Unsigned rational numbers are written out as signed rationals)
3--EXTENSIONS--
4exif
5--INI--
6output_handler=
7zlib.output_compression=0
8--FILE--
9<?php
10$infile = __DIR__.'/DJI_0245_tiny.jpg';
11$tags = exif_read_data($infile);
12echo $tags['GPSLatitude'][2], PHP_EOL;
13echo $tags['GPSLongitude'][2], PHP_EOL;
14?>
15--EXPECT--
16156691934/70000000
172672193571/70000000
18