|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-01-03 18:35 UTC] ab@php.net
-Assigned To:
+Assigned To: ab
[2015-01-04 17:22 UTC] sjaillet at gmail dot com
[2015-01-11 16:24 UTC] danack@php.net
[2015-01-11 17:45 UTC] ab@php.net
-Status: Assigned
+Status: Analyzed
[2015-01-11 17:45 UTC] ab@php.net
[2015-01-22 11:28 UTC] ab@php.net
[2015-01-22 11:28 UTC] ab@php.net
-Status: Analyzed
+Status: Closed
[2015-01-22 11:29 UTC] ab@php.net
[2015-01-22 11:32 UTC] ab@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 04:00:02 2025 UTC |
Description: ------------ finfo_buffer doesn't extract the correct mime for gifs in PHP 5.6 Seems working as expected with PHP 5.5 & PHP 5.4 Test script: --------------- $buffer = file_get_contents('http://s30.postimg.org/t89w8ep3x/favicon.gif'); $finfo = finfo_open(FILEINFO_MIME_TYPE); echo finfo_buffer($finfo, $buffer); Expected result: ---------------- Should display "image/gif" Actual result: -------------- "application/octet-stream"