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://www.codercto.com/courses/l/5.html

查看所有标签

Mission Python

Mission Python

Sean McManus / No Starch Press / 2018-9-18 / GBP 24.99

Launch into coding with Mission Python, a space-themed guide to building a complete computer game in Python. You'll learn programming fundamentals like loops, strings, and lists as you build Escape!, ......一起来看看 《Mission Python》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具