php string strrev function_PHP tutorial

WBOY
Release: 2016-07-20 11:00:29
Original
933 people have browsed it

strrev definition and usage
The strrev ( ) function is to reverse a string.

Let’s take a look at its syntax

strrev(string)
Copy after login
Copy after login

Parameter description string: required. The specified string to reverse

Let’s take a look at a simple example.

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

?>

The output result is.

nc.nc111.www

The

characters are reversed,


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445517.htmlTechArticlestrrev definition and usage The strrev () function is to reverse a string. Let’s take a look at its syntax strrev(string) parameter description string: required. The specified string, starting with...
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!