mb_ord()
Compat function to mimic mb_ord().
No Hooks.
Returns
int|false. The Unicode code point for the first character of string or false on failure.
Usage
mb_ord( $string, $encoding );
- $string(string) (required)
- Return the code point at the start of this string.
- $encoding("UTF-8"|null)
- Must be
'UTF-8'or null.
Default:null
Notes
| See: _mb_ord() |
Changelog
| Since 7.1.0 | Introduced. |
mb_ord() mb ord code WP 7.1
function mb_ord( $string, $encoding = null ) {
return _mb_ord( $string, $encoding );
}