Latest web development tutorials

PHP hebrev () function

PHP String Reference PHP String Reference

Examples

Inverted display Hebrew characters:

<?php
echo hebrev("a cuai auuna");
?>

Running instance »

Definition and Usage

hebrev () function to the Hebrew text from right to left and left to right of the stream into a stream.

Tip: hebrev () and hebrevc () can be logical Hebrew text (Windows encoding) is converted to the Hebrew text visible.Hebrew text shows no special right to left character support, making it the Hebrew text for display on the Web useful.


grammar

hebrev( string,maxcharline )

参数 描述
string 必需。希伯来文本。
maxcharline 可选。规定每行的最大字符数。如果可能,hebrev() 将避免把单词断开。

technical details

return value: Returns visible strings.
PHP version: 4+


PHP String Reference PHP String Reference