• Teach Your Self With
             w3htmlschool.com

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".
Example
Example Output

Syntax


string hebrev ( string $hebrew_text [, int $max_chars_per_line = 0 ] )

Return Value


Returns the visual string.

Parameter



NameDescriptionRequired /Optional
hebrew_textA Hebrew input string.
max_chars_per_lineThis optional parameter indicates maximum number of characters per line that will be returned.