FriBiDi Functions
Úvod
FriBiDi is a free implementation of the » Unicode Bidirectional Algorithm.
Požiadavky
You must download and install the » FriBiDi package.
Inštalácia
Toto » PECL rozšírenie nie je pribalené s PHP. Dodatočné informácie ako sú nové vydania, downloady, zdrojové súbory, informácie od spracovávateľa, a CHANGELOG, je možné nájsť tu: » https://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. Toto PECL rozšírenie DLL si môžete stiahnúť zo stránky » PHP Download alebo na » https://snaps.php.net/.
Runtime Konfigurácia
Typy zdrojov
Toto rozšírenie nemá definované žiadne typy zdrojov.
Preddefinované Konštanty
Konštanty uvedené nižšie sú definované týmto rozšírením a budú dostupné iba keď rozšírenie bolo buď kompilované do PHP alebo dynamicky načítané za behu (runtime).
- 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