Req #66024 [Com]: mb_chr() and mb_ord()

From: Date: Sun, 05 Mar 2017 09:56:41 +0000
Subject: Req #66024 [Com]: mb_chr() and mb_ord()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207694@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66024&edit=1 ID: 66024 Comment by: mike dot php at free dot fr Reported by: yohgaki@php.net Summary: mb_chr() and mb_ord() Status: Closed Type: Feature/Change Request Package: mbstring related Operating System: * PHP Version: Irrelevant Assigned To: yohgaki Block user comment: N Private report: N New Comment: The ord_utf8 and chr_utf8 functions are available here : http://stackoverflow.com/a/42600959/7558876 Previous Comments: ------------------------------------------------------------------------ [2016-08-10 05:58:31] yohgaki@php.net Available from PHP 7.2. ------------------------------------------------------------------------ [2013-11-03 04:32:19] 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] ) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66024&edit=1

« previous php.bugs (#207694) next »