<HTML ><HEAD ><TITLE >FriBiDi functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="Function Reference" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="fdf_set_version" HREF="function.fdf-set-version.html"><LINK REL="NEXT" TITLE="fribidi_log2vis" HREF="function.fribidi-log2vis.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.fdf-set-version.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.fribidi-log2vis.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.fribidi" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >XXXII. FriBiDi functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN28111" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="fribidi.intro" ></A >Introduction</H1 ><P > FriBiDi is a free implementation of the <A HREF="http://www.unicode.org/unicode/reports/tr9/" TARGET="_top" > Unicode Bidirectional Algorithm</A >. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="fribidi.requirements" ></A >Requirements</H1 ><P > You must download and install the <A HREF="http://fribidi.sourceforge.net/" TARGET="_top" >FriBiDi package</A >. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="fribidi.installation" ></A >Installation</H1 ><P > To enable FriBiDi support in <TT CLASS="literal" >PHP</TT > you must compile <TT CLASS="option" >--with-fribidi[=DIR]</TT > where DIR is the FriBiDi install directory. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="fribidi.configuration" ></A >Runtime Configuration</H1 ><P > </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="fribidi.resources" ></A >Resource Types</H1 ><P > </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="fribidi.constants" ></A >Predefined Constants</H1 ><P > The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. </P ><P ></P ><DIV CLASS="variablelist" ><DL ><DT ><TT CLASS="constant" ><B >FRIBIDI_CHARSET_UTF8</B ></TT > (<A HREF="language.types.integer.html" >integer</A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >FRIBIDI_CHARSET_8859_6</B ></TT > (<A HREF="language.types.integer.html" >integer</A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >FRIBIDI_CHARSET_8859_8</B ></TT > (<A HREF="language.types.integer.html" >integer</A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >FRIBIDI_CHARSET_CP1255</B ></TT > (<A HREF="language.types.integer.html" >integer</A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >FRIBIDI_CHARSET_CP1256</B ></TT > (<A HREF="language.types.integer.html" >integer</A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >FRIBIDI_CHARSET_ISIRI_3342</B ></TT > (<A HREF="language.types.integer.html" >integer</A >)</DT ><DD ><P > </P ></DD ></DL ></DIV ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="function.fribidi-log2vis.html" >fribidi_log2vis</A > -- Convert a logical string to a visual one</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.fdf-set-version.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.fribidi-log2vis.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >fdf_set_version</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >fribidi_log2vis</TD ></TR ></TABLE ></DIV ></BODY ></HTML >