From: Marcus Boerger Date: Mon, 16 Dec 2002 14:55:26 +0000 (+0000) Subject: MFH: that silly dot X-Git-Tag: php-4.3.0RC4~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=375cf41b62419a93975d1676a1f3fc7dd7056b8d;p=php MFH: that silly dot --- diff --git a/ext/exif/tests/exif002.phpt b/ext/exif/tests/exif002.phpt index 77283c3cc0..1b1220c600 100644 --- a/ext/exif/tests/exif002.phpt +++ b/ext/exif/tests/exif002.phpt @@ -13,9 +13,9 @@ zlib.output_compression=0 test2.jpg is the same image but contains Exif/Comment information and a copy of test1.jpg as a thumbnail. */ -$infile = dirname(__FILE__).'./test1.jpg'; +$infile = dirname(__FILE__).'/test1.jpg'; echo md5_file($infile).'_'.filesize($infile); -$thumb = exif_thumbnail(dirname(__FILE__).'./test2.jpg'); +$thumb = exif_thumbnail(dirname(__FILE__).'/test2.jpg'); echo " == "; echo md5($thumb).'_'.strlen($thumb); echo "\n"; diff --git a/ext/exif/tests/exif003.phpt b/ext/exif/tests/exif003.phpt index 434dcd1407..f58f4f5e12 100644 --- a/ext/exif/tests/exif003.phpt +++ b/ext/exif/tests/exif003.phpt @@ -19,7 +19,7 @@ exif.encode_unicode=ISO-8859-15 copy of test1.jpg as a thumbnail. test3.jpg is the same as test2.jpg but with a UNICODE UserComment: ÄÖ&Üßäöü */ -var_dump(exif_read_data(dirname(__FILE__).'./test3.jpg','',true,false)); +var_dump(exif_read_data(dirname(__FILE__).'/test3.jpg','',true,false)); ?> --EXPECTF-- array(5) { diff --git a/ext/exif/tests/exif004.phpt b/ext/exif/tests/exif004.phpt index 0259805b3a..19d2e5e9ea 100644 --- a/ext/exif/tests/exif004.phpt +++ b/ext/exif/tests/exif004.phpt @@ -17,7 +17,7 @@ exif.encode_unicode=ISO-8859-1 /* test4.jpg is a 1*1 image that contains Exif tags written by WindowsXP */ -$image = exif_read_data(dirname(__FILE__).'./test4.jpg','',true,false); +$image = exif_read_data(dirname(__FILE__).'/test4.jpg','',true,false); echo var_dump($image['WINXP']); ?> --EXPECT-- diff --git a/ext/exif/tests/exif005.phpt b/ext/exif/tests/exif005.phpt index 7f76073971..c1804e0b50 100644 --- a/ext/exif/tests/exif005.phpt +++ b/ext/exif/tests/exif005.phpt @@ -10,7 +10,7 @@ zlib.output_compression=0 /* Do not change this test it is a REATME.TESTING example. * test5.jpg is a 1*1 image that contains an Exif section with ifd = 00000009h */ -$image = exif_read_data(dirname(__FILE__).'./test5.jpg','',true,false); +$image = exif_read_data(dirname(__FILE__).'/test5.jpg','',true,false); var_dump($image['IFD0']); ?> --EXPECT--