3v4l.org

run code in 500+ PHP versions simultaneously
<?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( urldecode($src) ); parse_str($src['query']); echo $url;
Output for 8.2.35 - 8.2.36, 8.3.0 - 8.3.37, 8.4.1 - 8.4.28, 8.5.0 - 8.5.13, 8.6.0
Fatal error: Uncaught ArgumentCountError: parse_str() expects exactly 2 arguments, 1 given in /in/C43GH:5 Stack trace: #0 /in/C43GH(5): parse_str('url=http://www....') #1 {main} thrown in /in/C43GH on line 5
Process exited with code 255.

preferences:
15.93 ms | 1164 KiB | 6 Q