xref: /PHP-8.1/ext/exif/tests/bug72735/bug72682.phpt (revision bd9f4fa6)
1--TEST--
2Bug #72735 MakerNote regression
3--EXTENSIONS--
4exif
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