Home >Backend Development >PHP Tutorial >php: strrev() -- a function that outputs strings in reverse order_PHP tutorial

php: strrev() -- a function that outputs strings in reverse order_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-14 10:08:13833browse

Example: Please output "abcde" as "edcba". It must be compiled using functions.

[php]
echo strrev("abcde");
//Output 'edcba'

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477790.htmlTechArticleExample: Please output abcde as edcba. It must be compiled using functions. [php] echo strrev(abcde ); //Output edcba...
Statement:
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