mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
README.TESTING examples
This commit is contained in:
parent
5a8ed1e734
commit
0a7653263d
@ -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']);
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user