PHP str_rot13 Function
What is str_rot13 Function?
Explanation
In PHP this function is used to perform the rot13 encoding to transform a string.
Syntax:
sha1_file(string)
In the above syntax "string" specifies the text to do the encoding.
Example :
<?php
echo str_rot13("Good Morning");
echo "<br />";
echo str_rot13("Tbbq Zbeavat");
?>
Result :
Tbbq Zbeavat
Good Morning
In the above example the string "Good Morning" is encoded using the str_rot13 function, and the encoded string is done vice versa