Annotation of embedaddon/php/ext/exif/tests/exif_tagname_basic.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Test exif_tagname() function : basic functionality
3: --SKIPIF--
4: <?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
5: --INI--
6: output_handler=
7: zlib.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:
16: echo "*** Testing exif_tagname() : basic functionality ***\n";
17:
18: var_dump(exif_tagname(0x10E));
19: var_dump(exif_tagname(0x10F));
20: var_dump(exif_tagname(0x110));
21:
22: ?>
23: ===Done===
24: --EXPECT--
25: *** Testing exif_tagname() : basic functionality ***
26: string(16) "ImageDescription"
27: string(4) "Make"
28: string(5) "Model"
29: ===Done===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>