From:             trancer at trancer dot nl
Operating system: Any
PHP version:      Irrelevant
PHP Bug Type:     Unknown/Other Function
Bug description:  Typo in error message of mime_content_type and others

Description:
------------
Fatal error: mime_magic could not be initialized, magic file (null) is not
avaliable in ...

Should be available ofcourse. A small check on lxr.php.net reveals a few
more of these:

http://lxr.php.net/search?string=avaliable

Reproduce code:
---------------
echo mime_content_type('blabla');

Expected result:
----------------
Fatal error: mime_magic could not be initialized, magic file (null) is not
availiable in ...

Actual result:
--------------
Fatal error: mime_magic could not be initialized, magic file (null) is not
avaliable in ...

-- 
Edit bug report at http://bugs.php.net/?id=28725&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28725&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28725&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28725&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28725&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28725&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28725&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28725&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28725&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28725&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28725&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28725&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28725&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28725&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28725&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28725&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28725&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28725&r=float

Reply via email to