|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-02-23 12:40 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2016-02-23 12:40 UTC] cmb@php.net
[2016-02-24 07:20 UTC] janpoem at gmail dot com
[2016-02-24 13:04 UTC] cmb@php.net
-Status: Feedback
+Status: Verified
-Package: Unknown/Other Function
+Package: Filesystem function related
-Assigned To: cmb
+Assigned To:
[2016-02-24 13:04 UTC] cmb@php.net
[2016-02-25 08:53 UTC] laruence@php.net
-Status: Verified
+Status: Feedback
[2016-02-25 08:53 UTC] laruence@php.net
[2016-03-06 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 17:00:02 2025 UTC |
Description: ------------ Some files will appear Notice "Array to string conversion" when executing the function "finfo_file". But the file is real and the path is absolute path. Test script: --------------- <?php $finfo = finfo_open(FILEINFO_MIME); $files = [ __FILE__, // ok 'array_object.php', // ok 'C:/Windows/system.ini', // ok 'D:\\htdocs\\jquery\\README.md', // this will appear notice "Array to string conversion" ]; foreach ($files as $file) { var_dump(finfo_file($finfo, $file)); } finfo_close($finfo);