3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $v = urlencode("http://1/2/3/4/5/a.a?b=b&c=c"); $v1 = urlencode($v); echo $v; echo "\n--------\n"; echo $v1; echo "\n--------\n"; echo urldecode(urldecode($v1));
Output for 4.3.0 - 7.1.0
http%3A%2F%2F1%2F2%2F3%2F4%2F5%2Fa.a%3Fb%3Db%26c%3Dc -------- http%253A%252F%252F1%252F2%252F3%252F4%252F5%252Fa.a%253Fb%253Db%2526c%253Dc -------- http://1/2/3/4/5/a.a?b=b&c=c