dis-bench / src /php /php-src /ext /exif /tests /bug72735 /bug72682.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
377 Bytes
--TEST--
Bug #72735 MakerNote regression
--EXTENSIONS--
exif
--FILE--
<?php
foreach (['nokia.jpg', 'samsung.jpg', 'panasonic.jpg'] as $picture) {
echo $picture . ': ';
$info = exif_read_data(__DIR__ . DIRECTORY_SEPARATOR . $picture);
var_dump($info['MakerNote']);
}
?>
--EXPECT--
nokia.jpg: string(5) "Nikon"
samsung.jpg: NULL
panasonic.jpg: string(9) "Panasonic"