summaryrefslogtreecommitdiff
path: root/ext/exif/tests/exif_imagetype_basic.phpt
blob: 4ceea638bcf2879b1f117cc714d6d6b108004884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Check for exif_imagetype default behaviour
--SKIPIF--
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
--INI--
output_handler=
zlib.output_compression=0
--FILE--
<?php

echo "*** Testing exif_imagetype() : basic functionality ***\n";

var_dump(exif_imagetype(__DIR__.'/test2.jpg'));
?>
--EXPECT--
*** Testing exif_imagetype() : basic functionality ***
int(2)