hebrevc

string hebrevc(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 and converts newlines into HTML <br> tags.

Returns:

String

Description:

hebrevc() behaves very much like hebrev()—reversing the flow of Hebrew characters and words within a string. Additionally, any newlines within the text are converted to an HTML break (<br>) tag, followed by a single newline character.

Note:

This function really does use the <br> tag, not the more recent <br /> tag, as you might expect.

Only punctuation characters and ASCII character values between 224 and 251 are affected.All other characters and words within ...

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.