3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(json_decode('{"chats":843,"missed":29,"orders":10472,"ordersChats":197,"goods":489413.223,"goodsChats":23292.176600000017,"proficiency":{"count":171,"total":803},"politeness":{"count":171,"total":822},"staff":{"Jennifer":{"chats":98,"missed":0,"orders":0,"ordersChats":28,"goods":0,"goodsChats":4064.9530999999997,"proficiency":{"count":18,"total":83},"politeness":{"count":18,"total":85}},"Julie":{"chats":55,"missed":0,"orders":0,"ordersChats":6,"goods":0,"goodsChats":334.63000000000005,"proficiency":{"count":8,"total":39},"politeness":{"count":8,"total":39}},"Claire":{"chats":101,"missed":0,"orders":0,"ordersChats":13,"goods":0,"goodsChats":1536.2600000000002,"proficiency":{"count":21,"total":95},"politeness":{"count":21,"total":102}},"Shawn":{"chats":38,"missed":0,"orders":0,"ordersChats":11,"goods":0,"goodsChats":1179.54,"proficiency":{"count":6,"total":28},"politeness":{"count":6,"total":29}},"Craig":{"chats":18,"missed":0,"orders":0,"ordersChats":5,"goods":0,"goodsChats":816.15549999999996,"proficiency":{"count":3,"total":14},"politeness":{"count":3,"total":14}},"Sarah":{"chats":102,"missed":0,"orders":0,"ordersChats":30,"goods":0,"goodsChats":4584.8913999999995,"proficiency":{"count":26,"total":119},"politeness":{"count":26,"total":121}},"Daniel":{"chats":33,"missed":0,"orders":0,"ordersChats":8,"goods":0,"goodsChats":1114.7152000000001,"proficiency":{"count":4,"total":19},"politeness":{"count":4,"total":19}},"Louise":{"chats":71,"missed":0,"orders":0,"ordersChats":17,"goods":0,"goodsChats":1788.4782,"proficiency":{"count":20,"total":95},"politeness":{"count":20,"total":97}},"Harry":{"chats":33,"missed":0,"orders":0,"ordersChats":10,"goods":0,"goodsChats":1727.8600000000004,"proficiency":{"count":9,"total":41},"politeness":{"count":9,"total":43}},"Stuart":{"chats":21,"missed":0,"orders":0,"ordersChats":6,"goods":0,"goodsChats":443.80980000000005,"proficiency":{"count":2,"total":10},"politeness":{"count":2,"total":10}},"Keeley":{"chats":77,"missed":0,"orders":0,"ordersChats":23,"goods":0,"goodsChats":2689.7482999999997,"proficiency":{"count":20,"total":98},"politeness":{"count":20,"total":99}},"Katie":{"chats":89,"missed":0,"orders":0,"ordersChats":22,"goods":0,"goodsChats":1741.3699000000001,"proficiency":{"count":17,"total":78},"politeness":{"count":17,"total":80}},"Chlou00e9":{"chats":56,"missed":0,"orders":0,"ordersChats":13,"goods":0,"goodsChats":1025.1632,"proficiency":{"count":14,"total":69},"politeness":{"count":14,"total":69}},"Alex":{"chats":16,"missed":0,"orders":0,"ordersChats":2,"goods":0,"goodsChats":95.900000000000006,"proficiency":{"count":3,"total":15},"politeness":{"count":3,"total":15}},"Andrea":{"chats":6,"missed":0,"orders":0,"ordersChats":3,"goods":0,"goodsChats":148.702,"proficiency":{"count":0,"total":0},"politeness":{"count":0,"total":0}}}}'));
Output for 7.0.0 - 7.3.0rc3
object(stdClass)#1 (9) { ["chats"]=> int(843) ["missed"]=> int(29) ["orders"]=> int(10472) ["ordersChats"]=> int(197) ["goods"]=> float(489413.223) ["goodsChats"]=> float(23292.1766) ["proficiency"]=> object(stdClass)#2 (2) { ["count"]=> int(171) ["total"]=> int(803) } ["politeness"]=> object(stdClass)#3 (2) { ["count"]=> int(171) ["total"]=> int(822) } ["staff"]=> object(stdClass)#7 (15) { ["Jennifer"]=> object(stdClass)#4 (8) { ["chats"]=> int(98) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(28) ["goods"]=> int(0) ["goodsChats"]=> float(4064.9531) ["proficiency"]=> object(stdClass)#5 (2) { ["count"]=> int(18) ["total"]=> int(83) } ["politeness"]=> object(stdClass)#6 (2) { ["count"]=> int(18) ["total"]=> int(85) } } ["Julie"]=> object(stdClass)#8 (8) { ["chats"]=> int(55) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(6) ["goods"]=> int(0) ["goodsChats"]=> float(334.63) ["proficiency"]=> object(stdClass)#9 (2) { ["count"]=> int(8) ["total"]=> int(39) } ["politeness"]=> object(stdClass)#10 (2) { ["count"]=> int(8) ["total"]=> int(39) } } ["Claire"]=> object(stdClass)#11 (8) { ["chats"]=> int(101) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(13) ["goods"]=> int(0) ["goodsChats"]=> float(1536.26) ["proficiency"]=> object(stdClass)#12 (2) { ["count"]=> int(21) ["total"]=> int(95) } ["politeness"]=> object(stdClass)#13 (2) { ["count"]=> int(21) ["total"]=> int(102) } } ["Shawn"]=> object(stdClass)#14 (8) { ["chats"]=> int(38) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(11) ["goods"]=> int(0) ["goodsChats"]=> float(1179.54) ["proficiency"]=> object(stdClass)#15 (2) { ["count"]=> int(6) ["total"]=> int(28) } ["politeness"]=> object(stdClass)#16 (2) { ["count"]=> int(6) ["total"]=> int(29) } } ["Craig"]=> object(stdClass)#17 (8) { ["chats"]=> int(18) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(5) ["goods"]=> int(0) ["goodsChats"]=> float(816.1555) ["proficiency"]=> object(stdClass)#18 (2) { ["count"]=> int(3) ["total"]=> int(14) } ["politeness"]=> object(stdClass)#19 (2) { ["count"]=> int(3) ["total"]=> int(14) } } ["Sarah"]=> object(stdClass)#20 (8) { ["chats"]=> int(102) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(30) ["goods"]=> int(0) ["goodsChats"]=> float(4584.8914) ["proficiency"]=> object(stdClass)#21 (2) { ["count"]=> int(26) ["total"]=> int(119) } ["politeness"]=> object(stdClass)#22 (2) { ["count"]=> int(26) ["total"]=> int(121) } } ["Daniel"]=> object(stdClass)#23 (8) { ["chats"]=> int(33) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(8) ["goods"]=> int(0) ["goodsChats"]=> float(1114.7152) ["proficiency"]=> object(stdClass)#24 (2) { ["count"]=> int(4) ["total"]=> int(19) } ["politeness"]=> object(stdClass)#25 (2) { ["count"]=> int(4) ["total"]=> int(19) } } ["Louise"]=> object(stdClass)#26 (8) { ["chats"]=> int(71) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(17) ["goods"]=> int(0) ["goodsChats"]=> float(1788.4782) ["proficiency"]=> object(stdClass)#27 (2) { ["count"]=> int(20) ["total"]=> int(95) } ["politeness"]=> object(stdClass)#28 (2) { ["count"]=> int(20) ["total"]=> int(97) } } ["Harry"]=> object(stdClass)#29 (8) { ["chats"]=> int(33) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(10) ["goods"]=> int(0) ["goodsChats"]=> float(1727.86) ["proficiency"]=> object(stdClass)#30 (2) { ["count"]=> int(9) ["total"]=> int(41) } ["politeness"]=> object(stdClass)#31 (2) { ["count"]=> int(9) ["total"]=> int(43) } } ["Stuart"]=> object(stdClass)#32 (8) { ["chats"]=> int(21) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(6) ["goods"]=> int(0) ["goodsChats"]=> float(443.8098) ["proficiency"]=> object(stdClass)#33 (2) { ["count"]=> int(2) ["total"]=> int(10) } ["politeness"]=> object(stdClass)#34 (2) { ["count"]=> int(2) ["total"]=> int(10) } } ["Keeley"]=> object(stdClass)#35 (8) { ["chats"]=> int(77) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(23) ["goods"]=> int(0) ["goodsChats"]=> float(2689.7483) ["proficiency"]=> object(stdClass)#36 (2) { ["count"]=> int(20) ["total"]=> int(98) } ["politeness"]=> object(stdClass)#37 (2) { ["count"]=> int(20) ["total"]=> int(99) } } ["Katie"]=> object(stdClass)#38 (8) { ["chats"]=> int(89) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(22) ["goods"]=> int(0) ["goodsChats"]=> float(1741.3699) ["proficiency"]=> object(stdClass)#39 (2) { ["count"]=> int(17) ["total"]=> int(78) } ["politeness"]=> object(stdClass)#40 (2) { ["count"]=> int(17) ["total"]=> int(80) } } ["Chlou00e9"]=> object(stdClass)#41 (8) { ["chats"]=> int(56) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(13) ["goods"]=> int(0) ["goodsChats"]=> float(1025.1632) ["proficiency"]=> object(stdClass)#42 (2) { ["count"]=> int(14) ["total"]=> int(69) } ["politeness"]=> object(stdClass)#43 (2) { ["count"]=> int(14) ["total"]=> int(69) } } ["Alex"]=> object(stdClass)#44 (8) { ["chats"]=> int(16) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(2) ["goods"]=> int(0) ["goodsChats"]=> float(95.9) ["proficiency"]=> object(stdClass)#45 (2) { ["count"]=> int(3) ["total"]=> int(15) } ["politeness"]=> object(stdClass)#46 (2) { ["count"]=> int(3) ["total"]=> int(15) } } ["Andrea"]=> object(stdClass)#47 (8) { ["chats"]=> int(6) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(3) ["goods"]=> int(0) ["goodsChats"]=> float(148.702) ["proficiency"]=> object(stdClass)#48 (2) { ["count"]=> int(0) ["total"]=> int(0) } ["politeness"]=> object(stdClass)#49 (2) { ["count"]=> int(0) ["total"]=> int(0) } } } }
Output for 5.6.0 - 5.6.30, hhvm-3.15.4
object(stdClass)#1 (9) { ["chats"]=> int(843) ["missed"]=> int(29) ["orders"]=> int(10472) ["ordersChats"]=> int(197) ["goods"]=> float(489413.223) ["goodsChats"]=> float(23292.1766) ["proficiency"]=> object(stdClass)#2 (2) { ["count"]=> int(171) ["total"]=> int(803) } ["politeness"]=> object(stdClass)#3 (2) { ["count"]=> int(171) ["total"]=> int(822) } ["staff"]=> object(stdClass)#4 (15) { ["Jennifer"]=> object(stdClass)#5 (8) { ["chats"]=> int(98) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(28) ["goods"]=> int(0) ["goodsChats"]=> float(4064.9531) ["proficiency"]=> object(stdClass)#6 (2) { ["count"]=> int(18) ["total"]=> int(83) } ["politeness"]=> object(stdClass)#7 (2) { ["count"]=> int(18) ["total"]=> int(85) } } ["Julie"]=> object(stdClass)#8 (8) { ["chats"]=> int(55) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(6) ["goods"]=> int(0) ["goodsChats"]=> float(334.63) ["proficiency"]=> object(stdClass)#9 (2) { ["count"]=> int(8) ["total"]=> int(39) } ["politeness"]=> object(stdClass)#10 (2) { ["count"]=> int(8) ["total"]=> int(39) } } ["Claire"]=> object(stdClass)#11 (8) { ["chats"]=> int(101) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(13) ["goods"]=> int(0) ["goodsChats"]=> float(1536.26) ["proficiency"]=> object(stdClass)#12 (2) { ["count"]=> int(21) ["total"]=> int(95) } ["politeness"]=> object(stdClass)#13 (2) { ["count"]=> int(21) ["total"]=> int(102) } } ["Shawn"]=> object(stdClass)#14 (8) { ["chats"]=> int(38) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(11) ["goods"]=> int(0) ["goodsChats"]=> float(1179.54) ["proficiency"]=> object(stdClass)#15 (2) { ["count"]=> int(6) ["total"]=> int(28) } ["politeness"]=> object(stdClass)#16 (2) { ["count"]=> int(6) ["total"]=> int(29) } } ["Craig"]=> object(stdClass)#17 (8) { ["chats"]=> int(18) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(5) ["goods"]=> int(0) ["goodsChats"]=> float(816.1555) ["proficiency"]=> object(stdClass)#18 (2) { ["count"]=> int(3) ["total"]=> int(14) } ["politeness"]=> object(stdClass)#19 (2) { ["count"]=> int(3) ["total"]=> int(14) } } ["Sarah"]=> object(stdClass)#20 (8) { ["chats"]=> int(102) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(30) ["goods"]=> int(0) ["goodsChats"]=> float(4584.8914) ["proficiency"]=> object(stdClass)#21 (2) { ["count"]=> int(26) ["total"]=> int(119) } ["politeness"]=> object(stdClass)#22 (2) { ["count"]=> int(26) ["total"]=> int(121) } } ["Daniel"]=> object(stdClass)#23 (8) { ["chats"]=> int(33) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(8) ["goods"]=> int(0) ["goodsChats"]=> float(1114.7152) ["proficiency"]=> object(stdClass)#24 (2) { ["count"]=> int(4) ["total"]=> int(19) } ["politeness"]=> object(stdClass)#25 (2) { ["count"]=> int(4) ["total"]=> int(19) } } ["Louise"]=> object(stdClass)#26 (8) { ["chats"]=> int(71) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(17) ["goods"]=> int(0) ["goodsChats"]=> float(1788.4782) ["proficiency"]=> object(stdClass)#27 (2) { ["count"]=> int(20) ["total"]=> int(95) } ["politeness"]=> object(stdClass)#28 (2) { ["count"]=> int(20) ["total"]=> int(97) } } ["Harry"]=> object(stdClass)#29 (8) { ["chats"]=> int(33) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(10) ["goods"]=> int(0) ["goodsChats"]=> float(1727.86) ["proficiency"]=> object(stdClass)#30 (2) { ["count"]=> int(9) ["total"]=> int(41) } ["politeness"]=> object(stdClass)#31 (2) { ["count"]=> int(9) ["total"]=> int(43) } } ["Stuart"]=> object(stdClass)#32 (8) { ["chats"]=> int(21) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(6) ["goods"]=> int(0) ["goodsChats"]=> float(443.8098) ["proficiency"]=> object(stdClass)#33 (2) { ["count"]=> int(2) ["total"]=> int(10) } ["politeness"]=> object(stdClass)#34 (2) { ["count"]=> int(2) ["total"]=> int(10) } } ["Keeley"]=> object(stdClass)#35 (8) { ["chats"]=> int(77) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(23) ["goods"]=> int(0) ["goodsChats"]=> float(2689.7483) ["proficiency"]=> object(stdClass)#36 (2) { ["count"]=> int(20) ["total"]=> int(98) } ["politeness"]=> object(stdClass)#37 (2) { ["count"]=> int(20) ["total"]=> int(99) } } ["Katie"]=> object(stdClass)#38 (8) { ["chats"]=> int(89) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(22) ["goods"]=> int(0) ["goodsChats"]=> float(1741.3699) ["proficiency"]=> object(stdClass)#39 (2) { ["count"]=> int(17) ["total"]=> int(78) } ["politeness"]=> object(stdClass)#40 (2) { ["count"]=> int(17) ["total"]=> int(80) } } ["Chlou00e9"]=> object(stdClass)#41 (8) { ["chats"]=> int(56) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(13) ["goods"]=> int(0) ["goodsChats"]=> float(1025.1632) ["proficiency"]=> object(stdClass)#42 (2) { ["count"]=> int(14) ["total"]=> int(69) } ["politeness"]=> object(stdClass)#43 (2) { ["count"]=> int(14) ["total"]=> int(69) } } ["Alex"]=> object(stdClass)#44 (8) { ["chats"]=> int(16) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(2) ["goods"]=> int(0) ["goodsChats"]=> float(95.9) ["proficiency"]=> object(stdClass)#45 (2) { ["count"]=> int(3) ["total"]=> int(15) } ["politeness"]=> object(stdClass)#46 (2) { ["count"]=> int(3) ["total"]=> int(15) } } ["Andrea"]=> object(stdClass)#47 (8) { ["chats"]=> int(6) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(3) ["goods"]=> int(0) ["goodsChats"]=> float(148.702) ["proficiency"]=> object(stdClass)#48 (2) { ["count"]=> int(0) ["total"]=> int(0) } ["politeness"]=> object(stdClass)#49 (2) { ["count"]=> int(0) ["total"]=> int(0) } } } }