|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-01-29 23:29 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2018-01-29 23:29 UTC] requinix@php.net
[2018-01-30 11:37 UTC] tunderzone at gmail dot com
[2018-01-30 16:18 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 12 22:00:02 2025 UTC |
Description: ------------ having ".text" as first characters on any line of a css file will result in mime being resolved as text/x-asm. Test script: --------------- <?php $info = finfo_open(FILEINFO_MIME_TYPE); $tipe = finfo_buffer($info, '.text {color: #CCCCCC;}'); var_dump($tipe); finfo_close($info); Expected result: ---------------- text/css or text/plain Actual result: -------------- text/x-asm