Press "Enter" to skip to content

php-hebrevc-function

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

 


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

Example for PHP hebrevc Function

<?php
echo hebrevc(“á çùåï äúùñâ\ná çùåï äúùñâ”);
?>