FriBiDi Functions
소개
FriBiDi is a free implementation of the » Unicode Bidirectional Algorithm.
요구 조건
You must download and install the » FriBiDi package.
설치
이 » PECL 확장은 PHP 배포판에서 제공하지 않습니다. PECL 확장 설치에 관한 정보는 매뉴얼의 PECL 확장 설치에 있습니다. 새 릴리즈, 내려받기, 소스파일, 개발자 정보, CHANGELOG 등의 추가 정보는 여기에 있습니다: » 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. PECL 확장 DLL은 » PHP 내려받기 페이지나 » https://pecl4win.php.net/에서 받을 수 있습니다.
실행시 설정
자원형
이 확장은 리소스형을 정의하지 않습니다.
예약 상수
이 확장은 다음의 상수들을 정의합니다. 이 확장을 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