3v4l.org

run code in 200+ 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%26key3%3Dzzz'; $src = parse_url($src); parse_str($src['query']); echo urldecode($url);
based on 4CP93
Output for 7.2.0
Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in /in/GN2BL on line 5 http://www.my2.com/api.php?key1=xxx&key2=yyy&key3=zzz
Output for 4.3.0 - 7.1.10
http://www.my2.com/api.php?key1=xxx&key2=yyy&key3=zzz