str_rot13

Perform the rot13 transform on a string

Syntax

str_rot13 ( string $str ) : string

Parameters

str

The input string.

Return

Returns the ROT13 version of the given string.

Examples

1

<?

$str = 'Hello';

$return = str_rot13($str);

echo $return;

?>
Uryyb
HomeMenu