3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $links = array( "product.php?shopprodid=62&variantid=152" ); foreach ($links as $url){ $parts = parse_url($url); //foreach ( as $param){ var_dump(parse_str($parts['query'])); //} }
based on FePuE
Output for 7.2.0 - 7.3.0rc3
Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in /in/rAZ7r on line 13 NULL
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.1.20
NULL