1--TEST--
2Test exif_tagname() function : basic functionality
3--SKIPIF--
4<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
5--INI--
6output_handler=
7zlib.output_compression=0
8--FILE--
9<?php
10
11/* Prototype  :string exif_tagname ( string $index  )
12 * Description: Get the header name for an index
13 * Source code: ext/exif/exif.c
14*/
15
16echo "*** Testing exif_tagname() : basic functionality ***\n";
17
18var_dump(exif_tagname(0x10E));
19var_dump(exif_tagname(0x10F));
20var_dump(exif_tagname(0x110));
21
22?>
23===Done===
24--EXPECT--
25*** Testing exif_tagname() : basic functionality ***
26string(16) "ImageDescription"
27string(4) "Make"
28string(5) "Model"
29===Done===
30