3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://localhost/satdb/src/?v=organisations&q=foo&s=p&o=a&p=2?g=a"; //var_dump(explode("?", $url)); $parsed_url = parse_url($url); $query = array(); parse_str($parsed_url["query"], $query); var_dump($query); ?>
Output for git.master, git.master_jit, rfc.property-hooks
array(5) { ["v"]=> string(13) "organisations" ["q"]=> string(3) "foo" ["s"]=> string(1) "p" ["o"]=> string(1) "a" ["p"]=> string(5) "2?g=a" }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
39.54 ms | 401 KiB | 8 Q