|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80485 <b>Warning</b>: exif_read_data(php16A6.tmp): Process tag(x0000=UndefinedTag)
Submitted: 2020-12-04 14:38 UTC Modified: 2020-12-04 15:09 UTC
From: rg at mejoramos dot com Assigned:
Status: Duplicate Package: EXIF related
PHP Version: 7.4.13 OS: Windows 10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: rg at mejoramos dot com
New email:
PHP Version: OS:


 [2020-12-04 14:38 UTC] rg at mejoramos dot com
I upload image to process with


with some photos result is:

""" exif_read_data(php80D2.tmp): Process tag(xE6FA=UndefinedTag): Illegal format code 0x2035, suppose BYTE in ... [FILE] + [LINE] """

I see:

same error running PHP 8.0.0

Test script:
	$finfo = finfo_open(FILEINFO_MIME);
	$FT = finfo_file($finfo, $_FILES['img']['tmp_name']);
	if(preg_match('/image/i', $FT)){
		if(preg_match('/jpeg|jpg/i', $FT)){
			$FT = exif_read_data($_FILES['img']['tmp_name']);

Expected result:
ARRAY with DATE of creation, width, height, size, name, etc...

Actual result:
<b>Warning</b>: exif_read_data(php16A6.tmp): Process tag(x0000=UndefinedTag): Illegal format code 0x0000, suppose BYTE in <b>D:\HTTP\WWW\home\desarrollos\decoco\img_info.php</b> on line <b>19</b><br />


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-12-04 14:48 UTC] rg at mejoramos dot com
some sexy images to get the error:
 [2020-12-04 15:09 UTC]
-Status: Open +Status: Duplicate
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 08:01:28 2024 UTC