Definition
The str_rot13() function performs the ROT13 encoding(shifts every letter 13 places in the alphabet) on a string.
Syntax
str_rot13(string)
Parameters
Parameter | Description |
---|---|
string |
Required. Specifies the string to encode. |
Example
<?php
echo str_rot13("Welcome to PHP!");