WHAT IS THE SYNTAX OF THE STR_ROT13()FUNCTION IN PHP?
str_rot13(string)
Parameter | Description |
---|---|
string | Required. Specifies the string to encode |
EXAMPLES OF THE STR_ROT13() FUNCTION
Example 1. In this example, we encode and decode a string.
<?php
echo str_rot13("Hello World");
echo "<br>";
echo str_rot13("Uryyb Jbeyq");
?>