<!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 with newline conversion</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.hebrev.html">hebrev</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hex2bin.html">hex2bin</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.hebrevc" class="refentry"> <div class="refnamediv"> <h1 class="refname">hebrevc</h1> <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">hebrevc</span> — <span class="dc-title">Convert logical Hebrew text to visual text with newline conversion</span></p> </div> <div class="refsect1 description" id="refsect1-function.hebrevc-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">string</span> <span class="methodname"><strong>hebrevc</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"> This function is similar to <span class="function"><a href="function.hebrev.html" class="function">hebrev()</a></span> with the difference that it converts newlines (\n) to "<br>\n". </p> <p class="para"> The function tries to avoid breaking words. </p> </div> <div class="refsect1 parameters" id="refsect1-function.hebrevc-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.hebrevc-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns the visual string. </p> </div> <div class="refsect1 seealso" id="refsect1-function.hebrevc-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.hebrev.html" class="function" rel="rdfs-seeAlso">hebrev()</a> - Convert logical Hebrew text to visual text</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.hebrev.html">hebrev</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.hex2bin.html">hex2bin</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>