<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Convert logical Hebrew text to visual text</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.get-html-translation-table.html">get_html_translation_table</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hebrevc.html">hebrevc</a></div> <div class="up"><a href="ref.strings.html">String Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.hebrev" class="refentry"> <div class="refnamediv"> <h1 class="refname">hebrev</h1> <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">hebrev</span> — <span class="dc-title">Convert logical Hebrew text to visual text</span></p> </div> <div class="refsect1 description" id="refsect1-function.hebrev-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">string</span> <span class="methodname"><strong>hebrev</strong></span> ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$hebrew_text</code></span> [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$max_chars_per_line</code><span class="initializer"> = 0</span></span> ] )</div> <p class="para rdfs-comment"> Converts logical Hebrew text to visual text. </p> <p class="para"> The function tries to avoid breaking words. </p> </div> <div class="refsect1 parameters" id="refsect1-function.hebrev-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">hebrew_text</code></em></span> <dd> <p class="para"> A Hebrew input string. </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">max_chars_per_line</code></em></span> <dd> <p class="para"> This optional parameter indicates maximum number of characters per line that will be returned. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.hebrev-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns the visual string. </p> </div> <div class="refsect1 seealso" id="refsect1-function.hebrev-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.hebrevc.html" class="function" rel="rdfs-seeAlso">hebrevc()</a> - Convert logical Hebrew text to visual text with newline conversion</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.get-html-translation-table.html">get_html_translation_table</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hebrevc.html">hebrevc</a></div> <div class="up"><a href="ref.strings.html">String Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>