JavaScript Editor Javascript debugger     Website design 

fribidi_log2vis

Convert a logical string to a visual one (PHP 4 >= 4.0.4, PECL fribidi:1.0)
string fribidi_log2vis ( string str, string direction, int charset )

Converts a logical string to a visual one.

Parameters

str

The logical string.

direction

One of FRIBIDI_RTL, FRIBIDI_LTR or FRIBIDI_AUTO.

charset

One of the FRIBIDI_CHARSET_XXX constants.

Return Values

Returns the visual string on success, or FALSE on failure.