xref: /PHP-8.1/ext/exif/tests/bug62523_3.phpt (revision bd9f4fa6)
1--TEST--
2Bug 62523 (php crashes with segfault when exif_read_data called)
3--EXTENSIONS--
4exif
5--FILE--
6<?php
7echo "Test\n";
8var_dump(exif_read_data(__DIR__."/bug62523_3.jpg"));
9?>
10Done
11--EXPECTF--
12Test
13
14Warning: exif_read_data(bug62523_3.jpg): File not supported in %sbug62523_3.php on line %d
15bool(false)
16Done
17