|
IntlChar::getIntPropertyValueGet the value for a Unicode property for a code point Beschreibung
public static int IntlChar::getIntPropertyValue
( mixed
$codepoint
, int $property
)Gets the property value for an enumerated or integer Unicode property for a code point. Also returns binary and mask property values. Parameter-Liste
RückgabewerteReturns the numeric value that is directly the property value or, for enumerated properties, corresponds to the numeric value of the enumerated constant of the respective property value enumeration type.
Returns 0 or 1 (for Returns a bit-mask for mask properties.
Returns 0 if BeispieleBeispiel #1 Testen unterschiedlicher Eigenschaften
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: bool(true) bool(true) bool(true) Siehe auch
|