3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '[{label:"Pick your Snarf", name:"snarf", options:[{text:"option 1", value:"123"}, {text:"option 2", value:"3"}, {text:"option 3", value:"23"}]}, {label:"Pick your Snarf", name:"snarf", options:[{text:"option 1", value:"123"}, {text:"option 2", value:"3"}, {text:"option 3", value:"23"}]}, {label:"Pick your Snarf", name:"snarf", options:[{text:"option 1", value:"123"}, {text:"option 2", value:"3"}, {text:"option 3", value:"23"}]}]'; var_dump($json); var_dump(json_decode($json, true));
Output for git.master, git.master_jit, rfc.property-hooks
string(432) "[{label:"Pick your Snarf", name:"snarf", options:[{text:"option 1", value:"123"}, {text:"option 2", value:"3"}, {text:"option 3", value:"23"}]}, {label:"Pick your Snarf", name:"snarf", options:[{text:"option 1", value:"123"}, {text:"option 2", value:"3"}, {text:"option 3", value:"23"}]}, {label:"Pick your Snarf", name:"snarf", options:[{text:"option 1", value:"123"}, {text:"option 2", value:"3"}, {text:"option 3", value:"23"}]}]" NULL

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