|
mb_ordGet Unicode code point of character Description
intfalse mb_ord(string
$string, stringnull $encoding = null)Returns the Unicode code point value of the given character. This function complements mb_chr. Parameters
Return Values
The Unicode code point for the first character of Errors/Exceptions
As of PHP 8.0.0, a ValueError is thrown if
Changelog
Examples
Example #1 A basic mb_ord example The above example will output: int(65) int(128024) int(128) int(8364) See Also
|