Edit report at https://bugs.php.net/bug.php?id=60679&edit=1
ID: 60679 Comment by: tomse at tomse dot dk Reported by: tomse at tomse dot dk Summary: FILEINFO_MIME_TYPE is not defined as a constant Status: Open Type: Bug Package: *General Issues Operating System: FreeBSD 8.2 i386 PHP Version: 5.3.8 Block user comment: N Private report: N New Comment: using FILEINFO_MIME gives no errors and works as intended. php / pecl was added with pkg_add -r from stable branch Previous Comments: ------------------------------------------------------------------------ [2012-01-07 11:10:11] tomse at tomse dot dk Description: ------------ FILEINFO_MIME_TYPE is not defined as a constant error message when used with finfo_file(FILEINFO_MIME_TYPE, $string) it says something like this: "expected Int, string given" using 16 instead makes it work as should. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60679&edit=1