summaryrefslogtreecommitdiff
path: root/ext/exif/tests/bug77184/bug77184.phpt
blob: 54ecedf927e86ae298e0bbf6495408d150ffaf5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Bug #74428 (Unsigned rational numbers are written out as signed rationals)
--SKIPIF--
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
--INI--
output_handler=
zlib.output_compression=0
--FILE--
<?php
$infile = __DIR__.'/DJI_0245_tiny.jpg';
$tags = exif_read_data($infile);
echo $tags['GPSLatitude'][2], PHP_EOL;
echo $tags['GPSLongitude'][2], PHP_EOL;
?>
===DONE===
--EXPECT--
156691934/70000000
2672193571/70000000
===DONE===