This function is similar to hebrev() with the difference that it converts newlines (\n) to "<br>\n". The function tries to avoid breaking words. Test hebrevc online.
string hebrevc ( string $hebrew_text [, int $max_chars_per_line = 0 ] )
PHP Documentation by the PHP Documentation Group
(PHP 4, PHP 5, PHP 7)
hebrevc — Convert logical Hebrew text to visual text with newline conversion
This function has been DEPRECATED as of PHP 7.4.0. Relying on this function is highly discouraged.
$max_chars_per_line= 0 ) : string
This function is similar to hebrev() with the difference that it converts newlines (\n) to "<br>\n".
The function tries to avoid breaking words.
A Hebrew input string.
This optional parameter indicates maximum number of characters per line that will be returned.
Returns the visual string.
Copyright © 1997 - 2016 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Creative Commons Attribution 3.0 License or later. A copy of the Creative Commons Attribution 3.0 license is distributed with this manual. The latest version is presently available at » http://creativecommons.org/licenses/by/3.0/.