Annotation of embedaddon/php/ext/exif/tests/exif007.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Check for exif_read_data, baseline JPEG with no IFD, EXIF, GPS or Interoperability data in Intel byte-order.
! 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: var_dump(exif_read_data(dirname(__FILE__).'/image007.jpg'));
! 11: ?>
! 12: --EXPECTF--
! 13: array(7) {
! 14: ["FileName"]=>
! 15: string(12) "image007.jpg"
! 16: ["FileDateTime"]=>
! 17: int(%d)
! 18: ["FileSize"]=>
! 19: int(%d)
! 20: ["FileType"]=>
! 21: int(2)
! 22: ["MimeType"]=>
! 23: string(10) "image/jpeg"
! 24: ["SectionsFound"]=>
! 25: string(0) ""
! 26: ["COMPUTED"]=>
! 27: array(4) {
! 28: ["html"]=>
! 29: string(20) "width="1" height="1""
! 30: ["Height"]=>
! 31: int(1)
! 32: ["Width"]=>
! 33: int(1)
! 34: ["IsColor"]=>
! 35: int(1)
! 36: }
! 37: }
! 38: --CREDIT--
! 39: Eric Stewart <ericleestewart@gmail.com>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>