3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $src = 'http://www.my.com/api.php?url=http%3A%2F%2Fwww.my2.com%2Fapi.php%3Fkey1%3Dxxx%26key2%3Dyyy'; $src = parse_url( urldecode($src) ); parse_str($src['query']); echo $url;
based on Mc0YW
Output for 4.3.0 - 7.1.0
http://www.my2.com/api.php?key1=xxx