Menu Home

str_rot13

osbo.com | PHP | Functions | 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

<?

$str = 'Hello';

$return = str_rot13($str);

echo $return;

?>
Uryyb

PHP