HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP String Reference : Encode and decode a string: "
The str_rot13() function performs the ROT13 encoding on a string.
The ROT13 encoding shifts every letter 13 places in the alphabet. Numeric and non-alphabetical characters remains untouched.
Parameter | Description |
---|---|
string | Required. Specifies the string to encode |
Return Value: | Returns the ROT13 version of the encoded string |
---|---|
PHP Version: | 4.2.0+ |
❮ PHP String Reference