README.TESTING examples

This commit is contained in:
Marcus Boerger 2002-10-25 11:10:08 +00:00
parent 5a8ed1e734
commit 0a7653263d

View File

@ -1,12 +1,14 @@
--TEST--
Check for exif_read_data, unusual IFD start
--SKIPIF--
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
<?php
if (!extension_loaded('exif')) print 'skip exif extension not available';
?>
--FILE--
<?php
/*
test5.jpg is a 1*1 image that contain an Exif section with ifd start at 00000009h
*/
/* 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('./ext/exif/tests/test5.jpg','',true,false);
var_dump($image['IFD0']);
?>