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";
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) {
/*
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--
/* 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--
copy of test1.jpg as a thumbnail.
test6.jpg is the same as test2.jpg but with a UNICODE UserComment: ÄÖ&Üßäöü
*/
-var_dump(exif_read_data(dirname(__FILE__).'./test6.jpg','',true,false));
+var_dump(exif_read_data(dirname(__FILE__).'/test6.jpg','',true,false));
?>
--EXPECTF--
array(5) {