mirror of
https://github.com/php/php-src.git
synced 2026-04-22 15:38:49 +02:00
0e60b812c0
The qa.php.net currently includes nice collection of information about tests and how to run them. Instead of maintaining two locations of this information, this patch removes the README.TESTING from the php-src repo. Patch for qa.php.net has been sent separately to that repo.
21 lines
519 B
PHP
21 lines
519 B
PHP
--TEST--
|
|
Check for exif_read_data, unusual IFD start
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
|
|
--INI--
|
|
output_handler=
|
|
zlib.output_compression=0
|
|
--FILE--
|
|
<?php
|
|
// 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);
|
|
var_dump($image['IFD0']);
|
|
?>
|
|
--EXPECT--
|
|
array(2) {
|
|
["ImageDescription"]=>
|
|
string(11) "Ifd00000009"
|
|
["DateTime"]=>
|
|
string(19) "2002:10:18 20:06:00"
|
|
}
|