xref: /PHP-7.2/ext/exif/tests/bug62523_1.phpt (revision c62e5eb0)
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(count(exif_read_data(__DIR__."/bug62523_1.jpg")));
11?>
12Done
13--EXPECT--
14Test
15int(84)
16Done
17