mirror of
https://github.com/php/php-src.git
synced 2024-10-06 17:26:11 +00:00
cda87f7509
#Now we can read images modified by Exifer.
19 lines
448 B
PHP
19 lines
448 B
PHP
--TEST--
|
|
Check for exif_read_data, unusual IFD start
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("exif")) print "skip";?>
|
|
--FILE--
|
|
<?php
|
|
/*
|
|
test5.jpg is a 1*1 image that contain an Exif section with ifd start at 00000009h
|
|
*/
|
|
$image = exif_read_data('./ext/exif/tests/test5.jpg','',true,false);
|
|
var_dump($image['IFD0']);
|
|
?>
|
|
--EXPECT--
|
|
array(2) {
|
|
["ImageDescription"]=>
|
|
string(11) "Ifd00000009"
|
|
["DateTime"]=>
|
|
string(19) "2002:10:18 20:06:00"
|
|
}
|