PHP IntlChar()
PHP 7 supports internationalization (i18n) and localization (l10n) through the intl extension. This extension is just a basic wrapper around the ICU library and provides methods and features similar to the ICU library.
PHP 7 exposes the Unicode character features of ICU through the new IntlChar class. This class itself defines many static methods for manipulating multi-character-set Unicode characters.
Example
Example
The output of the above program is:
10ffff
COMMERCIAL AT
bool(true)
PHP 7 New Features