3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $links = array( "product.php?shopprodid=62&variantid=152" ); var_dump(parse_url($url));
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.2.6
Notice: Undefined variable: url in /in/ZMp2R on line 7 array(1) { ["path"]=> string(0) "" }
Output for hhvm-3.15.4
Notice: Undefined variable: url in /in/ZMp2R on line 7 Warning: parse_url() expects parameter 1 to be string, null given in /in/ZMp2R on line 7 NULL