1--TEST-- 2Check for exif_read_data, unusual IFD start 3--SKIPIF-- 4<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?> 5--INI-- 6output_handler= 7zlib.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); 14var_dump($image['IFD0']); 15?> 16--EXPECT-- 17array(2) { 18 ["ImageDescription"]=> 19 string(11) "Ifd00000009" 20 ["DateTime"]=> 21 string(19) "2002:10:18 20:06:00" 22}