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); var_dump($arr);
Output for git.master, git.master_jit, rfc.property-hooks
object(stdClass)#2 (4) { ["1"]=> object(stdClass)#1 (3) { ["img"]=> string(45) "http://dl.chouqu.com/yy/img/banner/shenqu.jpg" ["id"]=> string(3) "349" ["expl"]=> string(6) "测试" } ["2"]=> object(stdClass)#3 (3) { ["img"]=> string(45) "http://dl.chouqu.com/yy/img/banner/shenqu.jpg" ["id"]=> string(3) "349" ["expl"]=> string(6) "测试" } ["3"]=> object(stdClass)#4 (3) { ["img"]=> string(45) "http://dl.chouqu.com/yy/img/banner/shenqu.jpg" ["id"]=> string(3) "349" ["expl"]=> string(6) "测试" } ["4"]=> object(stdClass)#5 (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:
40.86 ms | 402 KiB | 8 Q