|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-04-28 21:37 UTC] grussellmd at gmail dot com
[2020-04-28 23:33 UTC] requinix@php.net
-Status: Open
+Status: Duplicate
[2020-04-28 23:33 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 00:00:02 2025 UTC |
Description: ------------ At least for one mime type I get the wrong format, it's duplicated Test script: --------------- $finfo = new \finfo(FILEINFO_MIME_TYPE, null); echo $finfo->file('/var/www/html/t2.xlsx'); Expected result: ---------------- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet Actual result: -------------- application/vnd.openxmlformats-officedocument.spreadsheetml.sheetapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet