PHP 4, PHP 5, PHP 7, PHP 8
hebrev - Convert logical Hebrew text to visual text

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

Converts logical Hebrew text to visual text.

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.

Return Values

Returns the visual string.

Related Functions

Example of hebrev

Show all examples for hebrev

PHP Version:

Function hebrev:

Strings Functions

Most used PHP functions