PHP hebrev() Function

P
PHP hebrevc() Function
PHP html_entity_decode() Function

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)
ParametersDetails
stringHebrew text – Required
maxcharlineHEBREV() avoid breaking the words – So, this parameter specify the characters for the new line. – Optional
PHP HEBREV() method

examples of the HEBREV() function

Example 1. In this example, we simply reverse the Hebrew characters.

<?php
echo hebrev("á çùåï äúùñâ");
?>

PHP hebrevc() Function
PHP html_entity_decode() Function

Add comment

Tutor Network

Share this

Learn PHP from A to Z