3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $src = 'http://www.my.com/api.php%3Fkey1=xxx&key2=xxx'; $src = parse_url( urldecode($src) ); parse_str($src['query']); echo $key1,$key2;
based on TbBjC
Output for 7.2.0
Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in /in/X5ajP on line 5 xxxxxx
Output for 4.3.0 - 7.1.10
xxxxxx