3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = parse_url('https://saji89.wordpress.com/2014/09/27/a-train-journey-of-self-reflection/?share=twitter'); var_dump($test);
based on VK1T3
Output for 4.3.0 - 7.2.0
array(4) { ["scheme"]=> string(5) "https" ["host"]=> string(20) "saji89.wordpress.com" ["path"]=> string(47) "/2014/09/27/a-train-journey-of-self-reflection/" ["query"]=> string(13) "share=twitter" }