PHP hebrevc Function
The PHP hebrevc function convert logical Hebrew text to visual text with newline conversion.
This function is similar to hebrev() with the difference that it converts newlines (\n) to “
\n”.
SYNTAX
string hebrev ( string $hebrew_text [, int $max_chars_per_line = 0 ] )
RETURN VALUE
Returns the visual string.
PARAMETER
Name | Description | Required /Optional |
---|---|---|
hebrew_text | A Hebrew input string. | |
max_chars_per_line | This optional parameter indicates maximum number of characters per line that will be returned. |
Example for PHP hebrevc Function
<?php
echo hebrevc(“á çùåï äúùñâ\ná çùåï äúùñâ”);
?>