|
IntlChar::hasBinaryPropertyCheck a binary Unicode property for a code point Beschreibung
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. Parameter-Liste
Rückgabewerte
Returns BeispieleBeispiel #1 Testen unterschiedlicher Eigenschaften
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: bool(true) bool(true) bool(false) bool(false) bool(false) bool(true) Siehe auch
|