PHP hebrev() 函数

PHP 教程 · 2019-01-29 13:42:32

实例

反向显示希伯来字符:

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

定义和用法

hebrev() 函数把希伯来文本从右至左的流转换为左至右的流。

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

语法


hebrev(string,maxcharline)


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

技术细节

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

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

查看所有标签

Learn Python 3 the Hard Way

Learn Python 3 the Hard Way

Zed A. Shaw / Addison / 2017-7-7 / USD 30.74

You Will Learn Python 3! Zed Shaw has perfected the world’s best system for learning Python 3. Follow it and you will succeed—just like the millions of beginners Zed has taught to date! You bring t......一起来看看 《Learn Python 3 the Hard Way》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

html转js在线工具
html转js在线工具

html转js在线工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具