|
IntlChar::hasBinaryPropertyCheck a binary Unicode property for a code point Description
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 Technical Reports (UTR). For details about the properties see » http://www.unicode.org/ucd/. For names of Unicode properties see the UCD file PropertyAliases.txt. Parameters
Return Values
Returns ExamplesExample #1 Testing different properties
<?php The above example will output: bool(true) bool(true) bool(false) bool(false) bool(false) bool(true) See Also
|