Last active
May 19, 2022 11:05
-
-
Save cp-sumi-k/a6453b22df885b4c62c450511ecf7491 to your computer and use it in GitHub Desktop.
https://blog.canopas.com/php-useful-encoding-and-decoding-functions-you-need-to-know-210e523a065f- str_rot13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# encode | |
echo str_rot13("We celebrate differences!!"); | |
# Output 1 : Jr pryroengr qvssreraprf!! | |
# decode | |
echo str_rot13("Jr pryroengr qvssreraprf!!"); | |
# Output 2 : We celebrate differences!! | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment