php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31644 Mimetype Functions are deprecated in favour of an unstable replacement
Submitted: 2005-01-21 19:19 UTC Modified: 2005-02-21 20:52 UTC
From: peter at jingo dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2005-01-21 19:19 UTC] peter at jingo dot com
Description:
------------
The documentation for the Mimetype Functions says that it is deprecated and to use the FileInfo PECL extension which is not stable, experimental and has no documentation. 

The mimetype functions shouldn't be depreciated until a suitable replacement is available.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-04 11:35 UTC] vrana@php.net
You are maybe right but it's not a documentation problem.
 [2005-02-04 12:59 UTC] et@php.net
Don't mark it as bogus if it isn't.
 [2005-02-21 20:52 UTC] sniper@php.net
I think the author of any extension can mark it deprecated if he/she thinks it is such..and there IS replacement: fileinfo extension found in PECL. 

And ext/mimetype has been marked as EXPERIMENTAL itself so I wouldn't call it 'stable' either. Fileinfo at least is under active maintenance, I'd rather use that if I needed this kind of functionality any day.

Further rant > /dev/null




 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 08:01:30 2024 UTC