(PHP 7)
Check if code point is permissible in an identifier
public static bool IntlChar::isIDPart ( mixed $codepoint )
Determines if the specified character is permissible in an identifier.
TRUE for characters with general categories "L" (letters), "Nl" (letter numbers), "Nd" (decimal digits), "Mc" and "Mn" (combining marks), "Pc" (connecting punctuation), and u_isIDIgnorable(c).
Note:
This is almost the same as Unicod