hebrev

string hebrev(string string, int max_line_length) 
string String of Hebrew characters
max_line_length Maximum length for lines within the converted text

Reverses the flow of Hebrew text within a string.

Returns:

String

Description:

hebrev() reverses the flow of Hebrew characters and words within a string. This is most often used to change Hebrew text from its native right-to-left flow to a left-to-right flow.

Only punctuation characters and ASCII character values between 224 and 251 are affected. All other characters and words within the string are left in their original flow, but may have their positions moved due to changes in the position of Hebrew text in the string.

The optional max_line_length argument can be used to ensure ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.