PHP hebrevc() Function

Definition

The hebrevc() function converts Hebrew text from a right-to-left flow to a left-to-right flow. It also converts new lines (\n) into <br>.

Syntax

PHP hebrevc() Function has the following syntax.

hebrevc(string,maxcharline)

Parameter

ParameterIs Required Description
stringRequired. A Hebrew text
maxcharlineOptional. Maximum characters for each line. hebrev() will avoid breaking words if possible

Return

PHP hebrevc() Function returns the visual string

Example 1

Reverse the display of Hebrew characters, and convert new lines(\n) into <br>:


<?php
echo hebrevc("????");
?>




















Home »
  PHP Tutorial »
    Function reference »




PHP Array Functions
PHP Calendar Functions
PHP Class Functions
PHP Data Type Functions
PHP Date Functions
PHP File Functions
PHP Image Functions
PHP Math Functions
PHP MySQLi Functions
PHP SimpleXML Functions
PHP String Functions
PHP XML Functions
PHP Zip Functions