first commit
This commit is contained in:
6
program_85.php
Normal file
6
program_85.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
$str = $_GET['string'];
|
||||
function mySwap($string){
|
||||
return $string[strlen($string)-1].substr($string,1,strlen($string)-2).$string[0];
|
||||
}
|
||||
echo mySwap($str);
|
Reference in New Issue
Block a user