PHPのお勉強!

PHP TOP

hebrev

(PHP 4, PHP 5, PHP 7, PHP 8)

hebrev論理表記のヘブライ語を物理表記に変換する

説明

hebrev(string $string, int $max_chars_per_line = 0): string

論理表記のヘブライ語を物理表記に変換します。

この関数は、単語の分断をできるだけ回避しようとします。

パラメータ

string

ヘブライ語の入力文字列。

max_chars_per_line

このオプションのパラメータは、 出力される行毎の最大文字数を返します。

戻り値

物理表記の文字列を返します。

参考

  • hebrevc() - 論理表記のヘブライ語を、改行の変換も含めて物理表記に変換する

add a note

User Contributed Notes 1 note

up
6
tinko
19 years ago
From my experience in using hebrev text in HTML, I prefer using

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

over mentioned PHP functions. It works perfectly with IE 6 ... needs some tweaking in Mozilla though.

I found this site http://tlt.its.psu.edu/suggestions/international/web/tips/align.html useful.
To Top