Home > php教程 > php手册 > body text

php 字符串strrev 函数

WBOY
Release: 2016-06-13 11:16:45
Original
1462 people have browsed it

 

strrev定义和用法
strrev ( )函数是把一字符串反倒过来。

下面我们来看看它的语法

strrev(string)
Copy after login
Copy after login

参数说明 string :必选。指定的字符串,以反倒

 

下面我们来看看简单的实例吧.

 

 

echo strrev("www.111cn.cn ");

?>

 

 

 

输出的结果为.

 

nc.nc111.www

 

字符给反过来了,


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template