[ create a new paste ] login | about

Link: http://codepad.org/ZrCamxBm    [ raw code | output | fork ]

PHP, pasted on Jan 17:
1
2
3
4
5
6
7
8
<?php

$plus = urlencode('+');
echo "urlencode('+'):##" . $plus . "##";
echo PHP_EOL;
$minus = urldecode($plus);
echo PHP_EOL;
echo "urldecode('%2B'):##" . $minus . "##";


Output:
1
2
3
urlencode('+'):##%2B##

urldecode('%2B'):##+##


Create a new paste based on this one


Comments: