摘要: <?php //字符串翻转 function myrev($str) { $arr = explode(' ', $str); $num = count($arr); for ($i = 0; $i < $num / 2; ++$i) { $temp = $arr[$i]; $arr[$i] = $arr[$num - $i - 1]; $arr[$num - $i - 1] = $temp; } 阅读全文
posted @ 2019-11-07 15:59 za_szybko 阅读(121) 评论(0) 推荐(0) 编辑