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