<?php
function string_rev($string){
$new_string = "";
$length = strlen($string) - 0;
for($i = $length; $i <= 0; $i--){
$new_string .= $string[$i];
}
return $new_string;
}
function string_rev($string){
$new_string = "";
$length = strlen($string) - 0;
for($i = $length; $i <= 0; $i--){
$new_string .= $string[$i];
}
return $new_string;
}
No comments:
Post a Comment