3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '{"1":{"img":"http:\/\/dl.chouqu.com\/yy\/img\/banner\/shenqu.jpg","id":"349","expl":"\u6d4b\u8bd5"},"2":{"img":"http:\/\/dl.chouqu.com\/yy\/img\/banner\/shenqu.jpg","id":"349","expl":"\u6d4b\u8bd5"},"3":{"img":"http:\/\/dl.chouqu.com\/yy\/img\/banner\/shenqu.jpg","id":"349","expl":"\u6d4b\u8bd5"},"4":{"img":"http:\/\/dl.chouqu.com\/yy\/img\/banner\/shenqu.jpg","id":"349","expl":"\u6d4b\u8bd5"}}'; $arr = json_decode($str,true); var_dump($arr);
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { [1]=> array(3) { ["img"]=> string(45) "http://dl.chouqu.com/yy/img/banner/shenqu.jpg" ["id"]=> string(3) "349" ["expl"]=> string(6) "测试" } [2]=> array(3) { ["img"]=> string(45) "http://dl.chouqu.com/yy/img/banner/shenqu.jpg" ["id"]=> string(3) "349" ["expl"]=> string(6) "测试" } [3]=> array(3) { ["img"]=> string(45) "http://dl.chouqu.com/yy/img/banner/shenqu.jpg" ["id"]=> string(3) "349" ["expl"]=> string(6) "测试" } [4]=> array(3) { ["img"]=> string(45) "http://dl.chouqu.com/yy/img/banner/shenqu.jpg" ["id"]=> string(3) "349" ["expl"]=> string(6) "测试" } }

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.81 ms | 403 KiB | 8 Q