Guest User

Untitled

a guest
Aug 20th, 2019
74
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