3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_GET['src'] = 'http://www.my.com/api.php%3Fkey1=xxx&key2=xxx'; $src = parse_url($_GET['src']); parse_str($src['query']); echo $key1,$key2;
Output for 5.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Undefined index: query in /in/gtqku on line 5 Notice: Undefined variable: key1 in /in/gtqku on line 6 Notice: Undefined variable: key2 in /in/gtqku on line 6
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.4 - 5.2.17
Notice: Undefined index: query in /in/gtqku on line 5 Notice: Undefined variable: key1 in /in/gtqku on line 6 Notice: Undefined variable: key2 in /in/gtqku on line 6
Output for 4.3.0 - 5.0.3
Notice: Undefined index: query in /in/gtqku on line 5 Notice: Undefined variable: key1 in /in/gtqku on line 6 Notice: Undefined variable: key2 in /in/gtqku on line 6