#49635 [NEW]: Function mime_content_type is part of the fileinfo extension

From: Date: Tue, 22 Sep 2009 22:47:25 +0000
Subject: #49635 [NEW]: Function mime_content_type is part of the fileinfo extension
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2805@lists.php.net to get a copy of this message
From: carsten_sttgt at gmx dot de Operating system: Irrelevant PHP version: 5.3.0 PHP Bug Type: Documentation problem Bug description: Function mime_content_type is part of the fileinfo extension Description: ------------ Hello, as of PHP 5.3.0 the function mime_content_type() seems part of the fileinfo extension. But in the manual it's not listed as a function of this extension. Instead it's listed as a function for the mime_magic/mimeinfo extension (available for all PHP5). I came across this issue, because I still have a mime_magic extension in PHP 5.3.0. And then I have tried to load the fileinfo extension, which was not possible because mime_content_type() was already defined. (also there seems no configure switch for fileinfo, to disable this compatibility function.) Regards, Carsten -- Edit bug report at http://bugs.php.net/?id=49635&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49635&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49635&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49635&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49635&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49635&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49635&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49635&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49635&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49635&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49635&r=support Expected behavior: http://bugs.php.net/fix.php?id=49635&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49635&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49635&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49635&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49635&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49635&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49635&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49635&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49635&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49635&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49635&r=mysqlcfg

« previous php.doc.bugs (#2805) next »