str_rot13() performs the ROT13 encoding on the $str argument and returns the resulting string. The ROT13 encoding simply shifts every letter by 13 places in the alphabet while leaving non-alpha characters untouched. Encoding and decoding are both done by str_rot13(), passing an encoded string as argument will return the original version.

declaration of str_rot13

string str_rot13 ( string $str )

test str_rot13 online

share str_rot13

comments for str_rot13

be the first

No comments so far for str_rot13(). Leave yours as first below.


Leave your comment