array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.exif-tagname.php', 1 => 'exif_tagname', 2 => 'Get the header name for an index', ), 'up' => array ( 0 => 'ref.exif.php', 1 => 'Функції Exif', ), 'prev' => array ( 0 => 'function.exif-read-data.php', 1 => 'exif_read_data', ), 'next' => array ( 0 => 'function.exif-thumbnail.php', 1 => 'exif_thumbnail', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/exif/functions/exif-tagname.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

exif_tagname

(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)

exif_tagnameGet the header name for an index

Опис

exif_tagname(int $index): string|false

Параметри

index

The Tag ID for which a Tag Name will be looked up.

Значення, що повертаються

Returns the header name, or false if index is not a defined EXIF tag id.

Приклади

Приклад #1 exif_tagname() example

<?php
echo "256: ".exif_tagname(256).PHP_EOL;
echo
"257: ".exif_tagname(257).PHP_EOL;
?>

Поданий вище приклад виведе:

256: ImageWidth
257: ImageLength

Прогляньте також