diff --git a/ext/exif/tests/004.phpt b/ext/exif/tests/004.phpt new file mode 100644 index 00000000000..9dd5c90324b --- /dev/null +++ b/ext/exif/tests/004.phpt @@ -0,0 +1,32 @@ +--TEST-- +Check for exif_read_data, Unicode WinXP tags +--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-- +ArrayFitest4.jpgFi713Fi2Miimage/jpegSeANY_TAG, IFD0, WINXPArrayhtwidth="1" height="1"He1Wi1Is1By0ArraySuArrayKeArrayAuArrayCoArrayTiArrayArraySuSubject...KeKeywords...AuRui CarmoCoComments +Line2 +Line3 +Line4TiTitle... \ No newline at end of file diff --git a/ext/exif/tests/test4.jpg b/ext/exif/tests/test4.jpg new file mode 100644 index 00000000000..8a23a7b658d Binary files /dev/null and b/ext/exif/tests/test4.jpg differ