Download src/php/php-src/ext/exif/tests/bug77184/bug77184.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 374 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/exif/tests/bug77184/bug77184.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/exif/tests/bug77184/bug77184.phpt
-
curl -L -o bug77184.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/exif/tests/bug77184/bug77184.phpt
374 Bytes
| --TEST-- | |
| Bug #74428 (Unsigned rational numbers are written out as signed rationals) | |
| --EXTENSIONS-- | |
| exif | |
| --INI-- | |
| output_handler= | |
| zlib.output_compression=0 | |
| --FILE-- | |
| $infile = __DIR__.'/DJI_0245_tiny.jpg'; | |
| $tags = exif_read_data($infile); | |
| echo $tags['GPSLatitude'][2], PHP_EOL; | |
| echo $tags['GPSLongitude'][2], PHP_EOL; | |
| --EXPECT-- | |
| 156691934/70000000 | |
| 2672193571/70000000 | |