PHP hebrevc() 函数

PHP 教程 · 2019-01-29 13:57:26

实例

反向显示希伯来字符,并把新行(\n)转换为 <br>:

<?php
echo hebrevc("á çùåï äúùñâ\ná çùåï äúùñâ");
?>

定义和用法

hebrevc() 函数把希伯来文本从右至左的流转换为左至右的流。同时,把新行(\n)转换为 <br>。

提示:hebrevc() 和 hebrev() 可以把希伯来逻辑文本(Windows 编码)转换为希伯来可见文本。希伯来可见文本不需要特殊的从右至左字符支持,这使它对于在 Web 上显示希伯来文本很有用处。

语法

hebrevc(string,maxcharline)


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

技术细节

返回值: 返回可见字符串。
PHP 版本: 4+

点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html

查看所有标签

Introduction to Linear Optimization

Introduction to Linear Optimization

Dimitris Bertsimas、John N. Tsitsiklis / Athena Scientific / 1997-02-01 / USD 89.00

"The true merit of this book, however, lies in its pedagogical qualities which are so impressive..." "Throughout the book, the authors make serious efforts to give geometric and intuitive explanations......一起来看看 《Introduction to Linear Optimization》 这本书的介绍吧!

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具