PHP strrev() 函数

PHP 教程 · 2019-01-30 11:12:29

实例

反转字符串 "Hello World!":

<?php
echo strrev("Hello World!");
?>

定义和用法

strrev() 函数反转字符串。

语法


strrev(string)


参数 描述
string 必需。规定要反转的字符串。

技术细节

返回值: 返回已反转的字符串。
PHP 版本: 4+

点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html

查看所有标签

Concepts, Techniques, and Models of Computer Programming

Concepts, Techniques, and Models of Computer Programming

Peter Van Roy、Seif Haridi / The MIT Press / 2004-2-20 / USD 78.00

This innovative text presents computer programming as a unified discipline in a way that is both practical and scientifically sound. The book focuses on techniques of lasting value and explains them p......一起来看看 《Concepts, Techniques, and Models of Computer Programming》 这本书的介绍吧!

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具