IntlChar::isalpha

(PHP 7) Check if code point is a letter character public static bool IntlChar::isalpha ( mixed $codepoint ) Determines whether the specified code point is a letter character. TRUE for general categories "L" (letters). Parameters: codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")

IntlChar::isalnum

(PHP 7) Check if code point is an alphanumeric character public static bool IntlChar::isalnum ( mixed $codepoint ) Determines whether the specified code point is an alphanumeric character (letter or digit). TRUE for characters with general categories "L" (letters) and "Nd" (decimal digit numbers). Parameters: codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SN

IntlChar::hasBinaryProperty

(PHP 7) Check a binary Unicode property for a code point public static bool IntlChar::hasBinaryProperty ( mixed $codepoint, int $property ) Checks a binary Unicode property for a code point. Unicode, especially in version 3.2, defines many more properties than the original set in UnicodeData.txt. The properties APIs are intended to reflect Unicode properties as defined in the Unicode Character Database (UCD) and Unicode

IntlChar::getUnicodeVersion

(PHP 7) Get the Unicode version public static array IntlChar::getUnicodeVersion ( void ) Gets the Unicode version information. The version array is filled in with the version information for the Unicode standard that is currently used by ICU. For example, Unicode version 3.1.1 is represented as an array with the values [3, 1, 1, 0]. Returns: An array containing the Unicode version number.

IntlChar::getPropertyValueName

(PHP 7) Get the Unicode name for a property value public static string IntlChar::getPropertyValueName ( int $property, int $value [, int $nameChoice = IntlChar::LONG_PROPERTY_NAME ] ) Returns the Unicode name for a given property value, as given in the Unicode database file PropertyValueAliases.txt. Note: Some of the names in PropertyValueAliases.txt can only be retrieved using IntlChar::PROPERTY_GENERAL_CATEGORY_MASK,

IntlChar::getPropertyValueEnum

(PHP 7) Get the property value for a given value name public static int IntlChar::getPropertyValueEnum ( int $property, string $name ) Returns the property value integer for a given value name, as specified in the Unicode database file PropertyValueAliases.txt. Short, long, and any other variants are recognized. Note: Some of the names in PropertyValueAliases.txt will only be recognized with IntlChar::PROPERTY_GENERAL_CA

IntlChar::getPropertyName

(PHP 7) Get the Unicode name for a property public static string IntlChar::getPropertyName ( int $property [, int $nameChoice = IntlChar::LONG_PROPERTY_NAME ] ) Returns the Unicode name for a given property, as given in the Unicode database file PropertyAliases.txt. In addition, this function maps the property IntlChar::PROPERTY_GENERAL_CATEGORY_MASK to the synthetic names "gcm" / "General_Category_Mask". These names are

IntlChar::getPropertyEnum

(PHP 7) Get the property constant value for a given property name public static int IntlChar::getPropertyEnum ( string $alias ) Returns the property constant value for a given property name, as specified in the Unicode database file PropertyAliases.txt. Short, long, and any other variants are recognized. In addition, this function maps the synthetic names "gcm" / "General_Category_Mask" to the property IntlChar::PROPERTY_G

IntlChar::getNumericValue

(PHP 7) Get the numeric value for a Unicode code point public static float IntlChar::getNumericValue ( mixed $codepoint ) Gets the numeric value for a Unicode code point as defined in the Unicode Character Database. For characters without any numeric values in the Unicode Character Database, this function will return float(-123456789). Parameters: codepoint The integer c

IntlChar::getIntPropertyValue

(PHP 7) Get the value for a Unicode property for a code point public static int IntlChar::getIntPropertyValue ( mixed $codepoint, int $property ) Gets the property value for an enumerated or integer Unicode property for a code point. Also returns binary and mask property values. Parameters: codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the char