时间:2021-07-01 10:21:17 帮助过:29人阅读
$str1 = "no job no address";
function Mystrrev($str1){
$newstr = "";
$len = strlen($str1);
for($i = $len; $i >= 0; $i--) {
$newstr .= $str1{$i};
}
return $newstr;
}
echo Mystrrev($str1);