mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
forgot to remove that dot
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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--
|
||||
|
||||
@@ -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--
|
||||
|
||||
@@ -14,7 +14,7 @@ magic_quotes_runtime=1
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user