|
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 compliments IntlChar::getPropertyName. Parameters
Return Values
Returns an IntlChar::PROPERTY_ constant value,
or ExamplesExample #1 Testing different properties
<?php The above example will output: bool(true) bool(true) bool(true) bool(true) See Also
|