1--TEST-- 2Check for exif_read_data, JPEG with IFD data in Motorola byte-order. 3--EXTENSIONS-- 4exif 5--INI-- 6output_handler= 7zlib.output_compression=0 8--FILE-- 9<?php 10var_dump(exif_read_data(__DIR__.'/image009.jpg')); 11?> 12--EXPECTF-- 13array(16) { 14 ["FileName"]=> 15 string(12) "image009.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(13) "ANY_TAG, IFD0" 26 ["COMPUTED"]=> 27 array(8) { 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 ["ByteOrderMotorola"]=> 37 int(1) 38 ["Copyright"]=> 39 string(24) "Eric Stewart, Hex Editor" 40 ["Copyright.Photographer"]=> 41 string(12) "Eric Stewart" 42 ["Copyright.Editor"]=> 43 string(10) "Hex Editor" 44 } 45 ["ImageDescription"]=> 46 string(15) "My description." 47 ["Make"]=> 48 string(11) "OpenShutter" 49 ["Model"]=> 50 string(8) "OS 1.0.0" 51 ["XResolution"]=> 52 string(4) "72/1" 53 ["YResolution"]=> 54 string(4) "72/1" 55 ["ResolutionUnit"]=> 56 int(2) 57 ["DateTime"]=> 58 string(19) "2008:06:19 01:47:53" 59 ["Artist"]=> 60 string(12) "Eric Stewart" 61 ["Copyright"]=> 62 string(12) "Eric Stewart" 63} 64--CREDITS-- 65Eric Stewart <ericleestewart@gmail.com> 66