|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #66024 mb_chr() and mb_ord()
Submitted: 2013-11-03 04:32 UTC Modified: 2016-08-10 05:58 UTC
Avg. Score:4.2 ± 0.9
Reproduced:8 of 8 (100.0%)
Same Version:6 (75.0%)
Same OS:4 (50.0%)
From: Assigned: yohgaki (profile)
Status: Closed Package: mbstring related
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2013-11-03 04:32 UTC]
Although mb_encode/decode_numericentity() can be used for multibyte version of chr()/ord(), it would be better to have mb_chr() and mb_ord().

$char_code = mb_chr($mb_char [, $encoding = mbstring.internal_encoding] )
$mb_char = mb_ord($char_code [, $encoding = mbstring.internal_encoding] )


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-11-03 04:32 UTC]
-Assigned To: +Assigned To: yohgaki
 [2016-08-10 05:58 UTC]
-Status: Assigned +Status: Closed
 [2016-08-10 05:58 UTC]
Available from PHP 7.2.
 [2017-03-05 09:56 UTC] mike dot php at free dot fr
The ord_utf8 and chr_utf8 functions are available here :
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 05 15:01:31 2024 UTC