Jump to: navigation, search

Php hebrev

From w3cyberlearnings

Contents

PHP function hebrev

This function converts hebrev text from a right to left flow or left to right flow. The different between hebrevc() function does not support the flow from right to left or left to right as in hebrev() function.

Syntax hebrev

  • string: a habrew text.
  • charline (optional): specifies maximum characters for each line, and it will avoid breaking words when possible.
hebrev(string, charline)

Note

On ASCII charaters between 224 and 251. Related function check hebrevc() function.

Related method

You may want to use for the same result:

<html dir="rtl" lang="he"> 
 ...
</html>

Example 1

<?php

$word = "בוקר טוב, ושום דבר יות";
$rs = hebrev($word);
echo $rs;
?>

Related Functions


Navigation
Web
SQL
MISC
References