3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v = urlencode("alma\nkörte"); $v1 = urlencode($v); echo $v; echo "\n--------\n"; echo $v1; echo "\n--------\n"; echo urldecode(urldecode($v1));

preferences:
50.18 ms | 402 KiB | 5 Q