In this article, you will learn how to work with Hebrew text. The HEBREV() function converts flow of Hebrew text from right to left to left to right.
Tip: Hebrew visual text is very useful for displaying Hebrew text in the web. It does not require the Hebrew logical text conversion or special right to left character support. hebrev() and hebrevc() function can convert Hebrew logical text into visual text.
What is the syntax of the HEBREV() function?
hebrev(string,maxcharline)
Parameters | Details |
---|---|
string | Hebrew text – Required |
maxcharline | HEBREV() avoid breaking the words – So, this parameter specify the characters for the new line. – Optional |
examples of the HEBREV() function
Example 1. In this example, we simply reverse the Hebrew characters.
<?php
echo hebrev("á çùåï äúùñâ");
?>