]> granicus.if.org Git - php/commitdiff
-remove filetime from test
authorMarcus Boerger <helly@php.net>
Wed, 13 Mar 2002 00:27:19 +0000 (00:27 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 13 Mar 2002 00:27:19 +0000 (00:27 +0000)
# that's magic - now the test should work on all installations

ext/exif/tests/001.phpt

index 4fc885917be487bc4c11da2cfe03a26bb3307c8b..5591f40c6b1d06478acb8f28930f15682b25e6ea 100644 (file)
@@ -16,11 +16,13 @@ $accept = '';
 foreach($image as $idx=>$section) {
        $accept .= $section;
        foreach($section as $name=>$value) {
-               $accept .= substr($name,0,2);
-               $accept .= $value;
+               if  ( $idx!='FILE' || $name!='FileDateTime') {
+                       $accept .= substr($name,0,2);
+                       $accept .= $value;
+               }
        }
 }
 echo $accept;
 ?>
 --EXPECT--
-ArrayFitest2.jpgFi1015448798Fi1240SeCOMPUTED, ANY_TAG, IFD0, THUMBNAIL, COMMENT, EXIFArrayCoPhoto (c) M.BoergerCoEdited by M.Boerger.htwidth="1" height="1"He1Wi1Is1UsExif test image.UsASCIIArrayCoPhoto (c) M.BoergerUsASCIIArrayJP523Array0Comment #1.1Comment #2.2Comment #3end
\ No newline at end of file
+ArrayFitest2.jpgFi1240SeCOMPUTED, ANY_TAG, IFD0, THUMBNAIL, COMMENT, EXIFArrayCoPhoto (c) M.BoergerCoEdited by M.Boerger.htwidth="1" height="1"He1Wi1Is1UsExif test image.UsASCIIArrayCoPhoto (c) M.BoergerUsASCIIArrayJP523Array0Comment #1.1Comment #2.2Comment #3end
\ No newline at end of file