|
|
|
@ -1,12 +1,14 @@ |
|
|
|
--TEST-- |
|
|
|
Check for exif_read_data, unusual IFD start |
|
|
|
--SKIPIF-- |
|
|
|
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?> |
|
|
|
<?php |
|
|
|
if (!extension_loaded('exif')) print 'skip exif extension not available'; |
|
|
|
?> |
|
|
|
--FILE-- |
|
|
|
<?php |
|
|
|
/* |
|
|
|
test5.jpg is a 1*1 image that contain an Exif section with ifd start at 00000009h |
|
|
|
*/ |
|
|
|
/* Do not change this test it is a REATME.TESTING example. |
|
|
|
* test5.jpg is a 1*1 image that contains an Exif section with ifd = 00000009h |
|
|
|
*/ |
|
|
|
$image = exif_read_data('./ext/exif/tests/test5.jpg','',true,false); |
|
|
|
var_dump($image['IFD0']); |
|
|
|
?> |
|
|
|
|