|
IntlChar::charDirectionGet bidirectional category value for a code point Description
public static int IntlChar::charDirection
( mixed
$codepoint
)Returns the bidirectional category value for the code point, which is used in the » Unicode bidirectional algorithm (UAX #9).
Parameters
Return ValuesThe bidirectional category value; one of the following constants:
ExamplesExample #1 Testing different code points
<?php The above example will output: bool(true) bool(true) bool(true) bool(true) |