From: Marcus Boerger Date: Fri, 5 Apr 2002 18:05:48 +0000 (+0000) Subject: -testing unicode user-comment X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~856 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=313503aa9265a89549ceb216ad5a1d1f073f8cc1;p=php -testing unicode user-comment --- diff --git a/ext/exif/tests/003.phpt b/ext/exif/tests/003.phpt new file mode 100644 index 0000000000..1315883b53 --- /dev/null +++ b/ext/exif/tests/003.phpt @@ -0,0 +1,29 @@ +--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-- +ArrayFitest3.jpgFi1237Fi2SeANY_TAG, IFD0, THUMBNAIL, COMMENTArrayhtwidth="1" height="1"He1Wi1Is1UsÄÖÜßäöüUsUNICODECoPhoto (c) M.Boerger, Edited by M.Boerger.CoPhoto (c) M.BoergerCoEdited by M.Boerger.ArrayCoPhoto (c) M.BoergerUsUNICODEArrayJP134JP523Array0Comment #1.1Comment #2.2Comment #3end \ No newline at end of file diff --git a/ext/exif/tests/test3.jpg b/ext/exif/tests/test3.jpg new file mode 100644 index 0000000000..f8adf9c2f4 Binary files /dev/null and b/ext/exif/tests/test3.jpg differ