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%26key3%3Dzzz'; $src = parse_url($src); echo $src['query'];
based on Djf7Y
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
url=http%3A%2F%2Fwww.my2.com%2Fapi.php%3Fkey1%3Dxxx%26key2%3Dyyy%26key3%3Dzzz
Output for hhvm-3.10.0

Process exited with code 153.