定义和用法php strrev() 函数反转字符串。
语法strrev(string)
参数
描述
string
必需。规定要反转的字符串。
例子<?php
echo strrev("Hello World!");
?>
输出:
!dlroW olleH
PHP String 函数