--TEST-- Check for exif_read_data --SKIPIF-- --POST-- --GET-- --FILE-- $section) { $accept .= $section; foreach($section as $name=>$value) { if ( $idx!='FILE' || $name!='FileDateTime') { $accept .= substr($name,0,2); $accept .= $value; } } } echo $accept; ?> --EXPECT-- ArrayFitest2.jpgFi1240Fi2SeANY_TAG, IFD0, THUMBNAIL, COMMENTArrayhtwidth="1" height="1"He1Wi1Is1UsExif test image.UsASCIICoPhoto (c) M.Boerger, Edited by M.Boerger.CoPhoto (c) M.BoergerCoEdited by M.Boerger.ArrayCoPhoto (c) M.BoergerUsASCIIArrayJP134JP523Array0Comment #1.1Comment #2.2Comment #3end