XLIV. FriBiDi Functions

简介

FriBiDi is a free implementation of the Unicode Bidirectional Algorithm.

需求

You must download and install the FriBiDi package.

安装

PECL 扩展未绑定于 PHP 中。 安装此 PECL 扩展库的信息可在手册中标题为 PECL 扩展库安装的一章中找到。 更多信息如新版本,下载,源文件,维护者信息以及更新日志等可以在这里找到: http://pecl.php.net/package/fribidi.

In order to use these functions you must compile PHP with Fribidi support by using the --with-fribidi[=DIR] configure option.

Windows users will enable php_fribidi.dll inside of php.ini in order to use these functions. 可以从 PHP 下载页面或者 http://snaps.php.net/ 下载此 PECL 扩展的 DLL 文件。

资源类型

本扩展模块未定义任何资源类型。

预定义常量

以下常量由本扩展模块定义,因此只有在本扩展模块被编译到 PHP 中,或者在运行时被动态加载后才有效。

FRIBIDI_CHARSET_UTF8 (integer)

Unicode

FRIBIDI_CHARSET_8859_6 (integer)

Arabic

FRIBIDI_CHARSET_8859_8 (integer)

Hebrew

FRIBIDI_CHARSET_CP1255 (integer)

Hebrew/Yiddish

FRIBIDI_CHARSET_CP1256 (integer)

Arabic

FRIBIDI_CHARSET_ISIRI_3342 (integer)

Persian

FRIBIDI_CHARSET_CAP_RTL (integer)

Used for test purposes, will treat CAPS as non-English letters

FRIBIDI_RTL (integer)

Right to left

FRIBIDI_LTR (integer)

Left to right

FRIBIDI_AUTO (integer)

Autodetect the base direction

目录
fribidi_log2vis -- Convert a logical string to a visual one