3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'http%3A%2F%2Fwww.my2.com%2Fapi.php%3Fkey1%3Dxxx%26key2%3Dyyy%26key3%3Dzzz'; $src = parse_url( urldecode($src) ); echo $url;
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: src in /in/0bnCH on line 3 http%3A%2F%2Fwww.my2.com%2Fapi.php%3Fkey1%3Dxxx%26key2%3Dyyy%26key3%3Dzzz
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: src in /in/0bnCH on line 3 http%3A%2F%2Fwww.my2.com%2Fapi.php%3Fkey1%3Dxxx%26key2%3Dyyy%26key3%3Dzzz