Edit report at https://bugs.php.net/bug.php?id=60679&edit=1

 ID:                 60679
 Updated by:         il...@php.net
 Reported by:        tomse at tomse dot dk
 Summary:            FILEINFO_MIME_TYPE is not defined as a constant
-Status:             Open
+Status:             Not a bug
 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:

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

Cannot reproduce this issue...


Previous Comments:
------------------------------------------------------------------------
[2012-01-07 11:11:49] tomse at tomse dot dk

using FILEINFO_MIME gives no errors and works as intended.

php / pecl was added with pkg_add -r from stable branch

------------------------------------------------------------------------
[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

Reply via email to