|
IntlChar::getIntPropertyValueGet the value for a Unicode property for a code point Description
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. Parameters
Return ValuesReturns 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 ExamplesExample #1 Testing different properties
<?php The above example will output: bool(true) bool(true) bool(true) See Also
|