(PHP 7)
Enumerate all code points with their Unicode general categories
public static void IntlChar::enumCharTypes ( callable $callback )
Enumerates efficiently all code points with their Unicode general categories. This is useful for building data structures, for enumerating all assigned code points, etc.
For each contiguous range of code points with a given general category ("character type"), the callback function is c