|
IntlChar::getPropertyEnumGet the property constant value for a given property name Description
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
This function complements IntlChar::getPropertyName. Parameters
Return Values
Returns an ExamplesExample #1 Testing different properties
The above example will output: bool(true) bool(true) bool(true) bool(true) See Also
|