Bug #80478 [Opn]: exif_read_data(php80D2.tmp): Process tag(xE6FA=UndefinedTag): Illegal format

From: Date: Fri, 04 Dec 2020 16:21:40 +0000
Subject: Bug #80478 [Opn]: exif_read_data(php80D2.tmp): Process tag(xE6FA=UndefinedTag): Illegal format
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230859@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80478&edit=1 ID: 80478 Updated by: nikic@php.net Reported by: rg at mejoramos dot com Summary: exif_read_data(php80D2.tmp): Process tag(xE6FA=UndefinedTag): Illegal format Status: Open Type: Bug Package: EXIF related Operating System: Windows PHP Version: 7.4.13 Block user comment: N Private report: N New Comment: Right. exif_read_data() is normally used together with error suppression (@), unless you specifically want to debug why some EXIF results are missing or similar. Warnings from this functions are generally harmless, as long as you still get back a result. Maybe this should be documented though? Previous Comments: ------------------------------------------------------------------------ [2020-12-04 16:12:51] rg at mejoramos dot com >>> disable your error handler The police in company is "NO HIDDEN ERRORS / PREVENT ERRORS" >>> Silence the exif_read_data() call using the @ operator ah!, then becouse exist this option, my report: [NO'T is a BUG] true? ------------------------------------------------------------------------ [2020-12-04 16:03:32] cmb@php.net > Then my script return EMPTY data. Silence the exif_read_data() call using the @ operator, or disable your error handler. ------------------------------------------------------------------------ [2020-12-04 15:54:45] rg at mejoramos dot com @requinix@php.net I was download PHP 7.4.13 and the error is IDENTIC: <b>Notice</b>: exif_read_data(phpD7AA.tmp): Potentially invalid endianess, trying again with different endianness before imminent failure. in FILE, LINE Then my script return EMPTY data. Identic situation running php-7.4.5 Identic situation running php-8.0.0 Can you test please?, some images is storage in https://mejoramos.com/bugs/PHP_80485/ Thanks ------------------------------------------------------------------------ [2020-12-04 15:11:42] requinix@php.net @cmb's earlier question for you is still important: despite the warning(s), do you still get a correct return value from exif_read_data? It sounds like you do. ------------------------------------------------------------------------ [2020-12-04 14:33:03] rg at mejoramos dot com >>> Then consider to update to the latest PHP 7.4.13 Thanks, 2 minutes back I go to www.php.net and download PHP 7.4.13 now my server over Windows 10 is running PHP 7.4.13 again I run code and result (over PHP 7.4.13) is: <b>Warning</b>: exif_read_data(php16A6.tmp): Process tag(x0000=UndefinedTag): Illegal format code 0x0000, suppose BYTE in FILE, LINE Regards ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=80478 -- Edit this bug report at https://bugs.php.net/bug.php?id=80478&edit=1

« previous php.bugs (#230859) next »