码迷,mamicode.com
首页 > Web开发 > 详细

php strrev()函数 语法

时间:2019-11-18 12:50:16      阅读:74      评论:0      收藏:0      [点我收藏+]

标签:字符   table   ring   width   target   val   加工   lse   com   

php strrev()函数 语法

strrev()怎么用?

php strrev()函数用于反转字符串,语法是strrev(string),返回已反转的字符串。大理石构件来图加工

作用:反转字符串

语法:strrev(string)

参数:

参数 描述
string 必要,指定要反转的字符串。

说明:返回已反转的字符串。

php strrev()函数 示例

<?php
$i = "hello world";
$j = strrev($i);
echo $j;
?>

php strrev()函数 语法

标签:字符   table   ring   width   target   val   加工   lse   com   

原文地址:https://www.cnblogs.com/furuihua/p/11881266.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!