3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inputArray = array( "id" => "foo", "name" => "bar", "money[0][amount]" => 30, "money[0][countryCode]" => "US", "money[1][amount]" => 25, "money[1][countryCode]" => "CA", ); $url = http_build_query($inputArray); parse_str($url, $output); var_dump($output);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { ["id"]=> string(3) "foo" ["name"]=> string(3) "bar" ["money"]=> array(2) { [0]=> array(2) { ["amount"]=> string(2) "30" ["countryCode"]=> string(2) "US" } [1]=> array(2) { ["amount"]=> string(2) "25" ["countryCode"]=> string(2) "CA" } } }

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:
59.07 ms | 402 KiB | 8 Q