SHARE
TWEET

Untitled

a guest Aug 20th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function rev($str) {
  2.     $newStr = '';
  3.     for ($i = 1; $i <= strlen($str); $i++) {
  4.         $newStr .= $str[strlen($str) - $i];
  5.     }
  6.     return $newStr;
  7. }
  8.  
  9. exit(rev('asdfg'));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top