php中实现字符串翻转的方法 字符串:$str = "abcdefg "; 方法一(直接使用php自带函数strrev($str)) print_r(strrev($str)); 使用for循环 PHP编程 2022-04-20 199 点赞 3 评论 301 浏览