mirror of
https://github.com/php/php-src.git
synced 2024-09-26 20:37:29 +00:00
19 lines
364 B
PHP
19 lines
364 B
PHP
--TEST--
|
|
Bug 62523 (php crashes with segfault when exif_read_data called)
|
|
--SKIPIF--
|
|
<?php
|
|
extension_loaded("exif") or die("skip need exif");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
echo "Test\n";
|
|
var_dump(count(exif_read_data(__DIR__."/bug62523_3.jpg")));
|
|
?>
|
|
Done
|
|
--EXPECTF--
|
|
Test
|
|
|
|
Warning: exif_read_data(bug62523_3.jpg): File not supported in %sbug62523_3.php on line %d
|
|
int(1)
|
|
Done
|