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

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

WBOY
WBOYOriginal
2016-07-14 10:08:13752browse

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