note 99728 deleted from function.exif-tagname by danbrown
| From: | danbrown@php.net | Date: | Wed, 01 Sep 2010 19:35:36 +0000 |
| Subject: | note 99728 deleted from function.exif-tagname by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-172254@lists.php.net to get a copy of this message | ||
Note Submitter: zerof at terra dot com dot br
----
I don't know if it's useful or not! However, I wrote this simple code:
<?php
/*
A total of 65,535 tags are possible,
but not all are named.
(65,535)[dec] = (0xFFFF)[hex]
*/
for ($id = 1; $id <= 65535; $id++)
{
$dec2hex = dechex($id);
$strgx = '0x'. $dec2hex;
if(exif_tagname($strgx) != "")
{
echo $strgx . ' ( ' . exif_tagname($strgx) . ' )<br />';
}
}
?>