#41070 [Opn->Ver]: mb_list_encodings_alias_names - Does not exists
| From: | bjori@php.net | Date: | Fri, 13 Apr 2007 14:50:51 +0000 |
| Subject: | #41070 [Opn->Ver]: mb_list_encodings_alias_names - Does not exists | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969376050@lists.php.net to get a copy of this message | ||
ID: 41070
Updated by: bjori@php.net
Reported By: carpetsmoker at xs4all dot nl
-Status: Open
+Status: Verified
Bug Type: Documentation problem
Operating System: FreeBSD 6.2
PHP Version: Irrelevant
New Comment:
"disabled mb_list_*_names() and mb_list_encodings(arg) which are
introduced in PHP 5.2.0RC to reconsider/discuss the specification." -
hirokawa
(http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/mbstring.c?r1=1.224.2.22.2.14&r2=1.224.2.22.2.15)
Guess we should simply remove those two files, but this will be tough
for our version checker to understand
Previous Comments:
------------------------------------------------------------------------
[2007-04-12 22:48:01] carpetsmoker at xs4all dot nl
Description:
------------
The php documentation for
mb_list_encodings_alias_names(http://www.php.net/manual/en/function.mb-list-encodings-alias-names.php)
states that this function is available from php version 5.2.0 and up.
I am currently using php 5.2.1, and the function is not defined in this
version (I did not try 5.2.0).
I assume that this is a documentation error and not an actual bug(?)
Note:
I have the mbstring extension loaded, other mbstring functions work
fine.
Reproduce code:
---------------
<?php
mb_list_encodings_alias_names('UTF-8');
?>
Actual result:
--------------
Fatal error: Call to undefined function
mb_list_encodings_alias_names() in /data/www/mailview/mailview.php on
line 131
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41070&edit=1