php.net |  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
Votes:9
Avg. Score:4.2 ± 0.9
Reproduced:8 of 8 (100.0%)
Same Version:6 (75.0%)
Same OS:4 (50.0%)
From: yohgaki@php.net Assigned: yohgaki (profile)
Status: Closed Package: mbstring related
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yohgaki@php.net
New email:
PHP Version: OS:

 

 [2013-11-03 04:32 UTC] yohgaki@php.net
Description:
------------
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] )




Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-11-03 04:32 UTC] yohgaki@php.net
-Assigned To: +Assigned To: yohgaki
 [2016-08-10 05:58 UTC] yohgaki@php.net
-Status: Assigned +Status: Closed
 [2016-08-10 05:58 UTC] yohgaki@php.net
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 :

http://stackoverflow.com/a/42600959/7558876
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 12:01:29 2024 UTC