Annotation of embedaddon/php/ext/exif/tests/exif005.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Check for exif_read_data, unusual IFD start
! 3: --SKIPIF--
! 4: <?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
! 5: --INI--
! 6: output_handler=
! 7: zlib.output_compression=0
! 8: --FILE--
! 9: <?php
! 10: /* Do not change this test it is a README.TESTING example.
! 11: * test5.jpg is a 1*1 image that contains an Exif section with ifd = 00000009h
! 12: */
! 13: $image = exif_read_data(dirname(__FILE__).'/test5.jpg','',true,false);
! 14: var_dump($image['IFD0']);
! 15: ?>
! 16: --EXPECT--
! 17: array(2) {
! 18: ["ImageDescription"]=>
! 19: string(11) "Ifd00000009"
! 20: ["DateTime"]=>
! 21: string(19) "2002:10:18 20:06:00"
! 22: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>