IntlChar::getPropertyValueEnum

IntlChar::getPropertyValueEnum

(PHP 7)

IntlChar::getPropertyValueEnumGet the property value for a given value name

Description

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_CATEGORY_MASK登录查看完整内容