Latest web development tutorials

PHP hebrevc () function

PHP String Reference PHP String Reference

Examples

Reverse display Hebrew characters, and newline (\ n) is converted to <br>:

<?php
echo hebrevc("a cuai auuna\na cuai auuna");
?>

Running instance »

Definition and Usage

hebrevc () function to the Hebrew text from right to left and left to right of the stream into a stream. At the same time, the new line (\ n) is converted to <br>.

Tip: hebrevc () and hebrev () 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

hebrevc( string,maxcharline )

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

technical details

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


PHP String Reference PHP String Reference