PHP STR_ROT13() FUNCTION

P
PHP strcasecmp() Function
PHP str_shuffle() Function

WHAT IS THE SYNTAX OF THE STR_ROT13()FUNCTION IN PHP?

str_rot13(string)
ParameterDescription
stringRequired. Specifies the string to encode
PHP STR_ROT13() method

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");
?>
PHP strcasecmp() Function
PHP str_shuffle() Function

Add comment

Tutor Network

Share this

Learn PHP from A to Z