3v4l.org

run code in 300+ PHP versions simultaneously
<?php function w3rfunction($value,$key) { echo "$key : $value<br />"; } $a = '{"Title": "The Cuckoos Calling", "Author": "Robert Galbraith", "Detail": { "Publisher": "Little Brown" } }'; $j1 = json_decode($a,true); var_dump($j1);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { ["Title"]=> string(19) "The Cuckoos Calling" ["Author"]=> string(16) "Robert Galbraith" ["Detail"]=> array(1) { ["Publisher"]=> string(12) "Little Brown" } }

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.66 ms | 401 KiB | 8 Q