update : 2015.11.03
php.shukuma.com검색:
|
IntlChar::getPropertyEnum(PHP 7) IntlChar::getPropertyEnum — 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
This function compliments IntlChar::getPropertyName(). 인수
반환값
Returns an IntlChar::PROPERTY_ constant value,
or 예제Example #1 Testing different properties
<?php 위 예제의 출력: bool(true) bool(true) bool(true) bool(true) |