xref: /PHP-8.0/ext/exif/tests/bug72735/bug72682.phpt (revision f8d79582)
1--TEST--
2Bug #72735 MakerNote regression
3--SKIPIF--
4<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
5--FILE--
6<?php
7foreach (['nokia.jpg', 'samsung.jpg', 'panasonic.jpg'] as $picture) {
8    echo $picture . ': ';
9
10    $info = exif_read_data(__DIR__ . DIRECTORY_SEPARATOR . $picture);
11    var_dump($info['MakerNote']);
12}
13?>
14--EXPECT--
15nokia.jpg: string(5) "Nikon"
16samsung.jpg: NULL
17panasonic.jpg: string(9) "Panasonic"
18