用少量代码实现“Welcome to CCRF”字符串的反转?

function rev($str){
$count = strlen($str);
$newstr ="";
for($i=$count-1;$i>=0;$i--){
$newstr .= $str[$i];
}
return $newstr;

}
原文地址:https://www.cnblogs.com/swallowli66/p/10620500.html