This commit is contained in:
Sergio Álvarez 2021-09-20 13:41:14 +02:00
parent 1b1fe738d7
commit 882f1d970b
1 changed files with 4 additions and 4 deletions

View File

@ -34,12 +34,12 @@ if ($action == 'reset') {
die(); die();
} elseif ($action == 'urlencode') { } elseif ($action == 'urlencode') {
$result = rawurlencode($str)?: $str; $result = urlencode($str)?: $str;
$help = 'https://www.php.net/rawurlencode'; $help = 'https://www.php.net/urlencode';
} elseif ($action == 'urldecode') { } elseif ($action == 'urldecode') {
$result = rawurldecode($str)?: $str; $result = urldecode($str)?: $str;
$help = 'https://www.php.net/rawurldecode'; $help = 'https://www.php.net/urldecode';
} elseif ($action == 'b64encode') { } elseif ($action == 'b64encode') {
$result = base64_encode($str)?: $str; $result = base64_encode($str)?: $str;