daily pastebin goal
38%
SHARE
TWEET

Untitled

a guest Mar 18th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. function decodeString( $mes )
  4. {
  5.  
  6.     $lenMes     = strlen( $mes );
  7.    
  8.    
  9.     $keyNumber  = $lenMes /2 ;
  10.  
  11.     $subString = substr( $mes, 5, $keyNumber);
  12.    
  13.     $mes = str_replace( '@#?', ' ', $subString);
  14.  
  15.     $mes = strrev( $mes );
  16.     echo $mes;
  17.     echo "<br>";
  18. }
  19.  
  20. decodeString( "0@sn9sirppa@#?ia'jgtvryko1" );
  21. decodeString( "q8e?wsellecif@#?sel@#?setuotpazdsy0*b9+mw@x1vj" );
  22. decodeString( "aopi?sgnirts@#?sedhtg+p9l!" );
  23.  
  24. ?>
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