#41070 [Ver]: mb_list_encodings_alias_names - Does not exists
| From: | carpetsmoker at xs4all dot nl | Date: | Sat, 14 Apr 2007 13:26:18 +0000 |
| Subject: | #41070 [Ver]: mb_list_encodings_alias_names - Does not exists | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969376055@lists.php.net to get a copy of this message | ||
ID: 41070
User updated by: carpetsmoker at xs4all dot nl
Reported By: carpetsmoker at xs4all dot nl
Status: Verified
Bug Type: Documentation problem
Operating System: FreeBSD 6.2
PHP Version: Irrelevant
New Comment:
Maybe an experimental note like this?
http://www.php.net/manual/en/function.ncurses-putp.php
Previous Comments:
------------------------------------------------------------------------
[2007-04-13 14:50:50] bjori@php.net
"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
------------------------------------------------------------------------
[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