3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(json_decode('{"chats":561,"missed":6,"orders":5849,"ordersChats":93,"goods":321987.067,"goodsChats":12658.5531,"proficiency":{"count":106,"total":486},"politeness":{"count":107,"total":501},"staff":{"Harry":{"chats":21,"missed":0,"orders":0,"ordersChats":1,"goods":0,"goodsChats":41.98,"proficiency":{"count":1,"total":5},"politeness":{"count":1,"total":5}},"Shawn":{"chats":18,"missed":0,"orders":0,"ordersChats":3,"goods":0,"goodsChats":980.23,"proficiency":{"count":3,"total":11},"politeness":{"count":3,"total":13}},"Louise":{"chats":69,"missed":0,"orders":0,"ordersChats":12,"goods":0,"goodsChats":3768.57,"proficiency":{"count":14,"total":69},"politeness":{"count":14,"total":69}},"Craig":{"chats":33,"missed":0,"orders":0,"ordersChats":3,"goods":0,"goodsChats":373.44,"proficiency":{"count":8,"total":36},"politeness":{"count":8,"total":37}},"Julie":{"chats":62,"missed":0,"orders":0,"ordersChats":6,"goods":0,"goodsChats":956.04,"proficiency":{"count":10,"total":50},"politeness":{"count":10,"total":49}},"Jennifer":{"chats":109,"missed":0,"orders":0,"ordersChats":18,"goods":0,"goodsChats":971.93,"proficiency":{"count":22,"total":99},"politeness":{"count":22,"total":105}},"Katie":{"chats":75,"missed":0,"orders":0,"ordersChats":18,"goods":0,"goodsChats":2273.86,"proficiency":{"count":18,"total":82},"politeness":{"count":18,"total":84}},"Keeley":{"chats":67,"missed":0,"orders":0,"ordersChats":15,"goods":0,"goodsChats":2244.85,"proficiency":{"count":13,"total":62},"politeness":{"count":14,"total":66}},"Claire":{"chats":75,"missed":0,"orders":0,"ordersChats":14,"goods":0,"goodsChats":924.0897,"proficiency":{"count":14,"total":58},"politeness":{"count":14,"total":59}},"Sarah":{"chats":13,"missed":0,"orders":0,"ordersChats":2,"goods":0,"goodsChats":76.5717,"proficiency":{"count":2,"total":9},"politeness":{"count":2,"total":9}},"Daniel":{"chats":4,"missed":0,"orders":0,"ordersChats":0,"goods":0,"goodsChats":0,"proficiency":{"count":0,"total":0},"politeness":{"count":0,"total":0}},"Stuart":{"chats":5,"missed":0,"orders":0,"ordersChats":0,"goods":0,"goodsChats":0,"proficiency":{"count":0,"total":0},"politeness":{"count":0,"total":0}},"Alex":{"chats":3,"missed":0,"orders":0,"ordersChats":0,"goods":0,"goodsChats":0,"proficiency":{"count":1,"total":5},"politeness":{"count":1,"total":5}},"Andrea":{"chats":1,"missed":0,"orders":0,"ordersChats":1,"goods":0,"goodsChats":46.9917,"proficiency":{"count":0,"total":0},"politeness":{"count":0,"total":0}}}}'));
based on HVqLQ
Output for 7.0.0 - 7.2.6
object(stdClass)#1 (9) { ["chats"]=> int(561) ["missed"]=> int(6) ["orders"]=> int(5849) ["ordersChats"]=> int(93) ["goods"]=> float(321987.067) ["goodsChats"]=> float(12658.5531) ["proficiency"]=> object(stdClass)#2 (2) { ["count"]=> int(106) ["total"]=> int(486) } ["politeness"]=> object(stdClass)#3 (2) { ["count"]=> int(107) ["total"]=> int(501) } ["staff"]=> object(stdClass)#7 (14) { ["Harry"]=> object(stdClass)#4 (8) { ["chats"]=> int(21) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(1) ["goods"]=> int(0) ["goodsChats"]=> float(41.98) ["proficiency"]=> object(stdClass)#5 (2) { ["count"]=> int(1) ["total"]=> int(5) } ["politeness"]=> object(stdClass)#6 (2) { ["count"]=> int(1) ["total"]=> int(5) } } ["Shawn"]=> object(stdClass)#8 (8) { ["chats"]=> int(18) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(3) ["goods"]=> int(0) ["goodsChats"]=> float(980.23) ["proficiency"]=> object(stdClass)#9 (2) { ["count"]=> int(3) ["total"]=> int(11) } ["politeness"]=> object(stdClass)#10 (2) { ["count"]=> int(3) ["total"]=> int(13) } } ["Louise"]=> object(stdClass)#11 (8) { ["chats"]=> int(69) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(12) ["goods"]=> int(0) ["goodsChats"]=> float(3768.57) ["proficiency"]=> object(stdClass)#12 (2) { ["count"]=> int(14) ["total"]=> int(69) } ["politeness"]=> object(stdClass)#13 (2) { ["count"]=> int(14) ["total"]=> int(69) } } ["Craig"]=> object(stdClass)#14 (8) { ["chats"]=> int(33) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(3) ["goods"]=> int(0) ["goodsChats"]=> float(373.44) ["proficiency"]=> object(stdClass)#15 (2) { ["count"]=> int(8) ["total"]=> int(36) } ["politeness"]=> object(stdClass)#16 (2) { ["count"]=> int(8) ["total"]=> int(37) } } ["Julie"]=> object(stdClass)#17 (8) { ["chats"]=> int(62) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(6) ["goods"]=> int(0) ["goodsChats"]=> float(956.04) ["proficiency"]=> object(stdClass)#18 (2) { ["count"]=> int(10) ["total"]=> int(50) } ["politeness"]=> object(stdClass)#19 (2) { ["count"]=> int(10) ["total"]=> int(49) } } ["Jennifer"]=> object(stdClass)#20 (8) { ["chats"]=> int(109) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(18) ["goods"]=> int(0) ["goodsChats"]=> float(971.93) ["proficiency"]=> object(stdClass)#21 (2) { ["count"]=> int(22) ["total"]=> int(99) } ["politeness"]=> object(stdClass)#22 (2) { ["count"]=> int(22) ["total"]=> int(105) } } ["Katie"]=> object(stdClass)#23 (8) { ["chats"]=> int(75) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(18) ["goods"]=> int(0) ["goodsChats"]=> float(2273.86) ["proficiency"]=> object(stdClass)#24 (2) { ["count"]=> int(18) ["total"]=> int(82) } ["politeness"]=> object(stdClass)#25 (2) { ["count"]=> int(18) ["total"]=> int(84) } } ["Keeley"]=> object(stdClass)#26 (8) { ["chats"]=> int(67) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(15) ["goods"]=> int(0) ["goodsChats"]=> float(2244.85) ["proficiency"]=> object(stdClass)#27 (2) { ["count"]=> int(13) ["total"]=> int(62) } ["politeness"]=> object(stdClass)#28 (2) { ["count"]=> int(14) ["total"]=> int(66) } } ["Claire"]=> object(stdClass)#29 (8) { ["chats"]=> int(75) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(14) ["goods"]=> int(0) ["goodsChats"]=> float(924.0897) ["proficiency"]=> object(stdClass)#30 (2) { ["count"]=> int(14) ["total"]=> int(58) } ["politeness"]=> object(stdClass)#31 (2) { ["count"]=> int(14) ["total"]=> int(59) } } ["Sarah"]=> object(stdClass)#32 (8) { ["chats"]=> int(13) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(2) ["goods"]=> int(0) ["goodsChats"]=> float(76.5717) ["proficiency"]=> object(stdClass)#33 (2) { ["count"]=> int(2) ["total"]=> int(9) } ["politeness"]=> object(stdClass)#34 (2) { ["count"]=> int(2) ["total"]=> int(9) } } ["Daniel"]=> object(stdClass)#35 (8) { ["chats"]=> int(4) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(0) ["goods"]=> int(0) ["goodsChats"]=> int(0) ["proficiency"]=> object(stdClass)#36 (2) { ["count"]=> int(0) ["total"]=> int(0) } ["politeness"]=> object(stdClass)#37 (2) { ["count"]=> int(0) ["total"]=> int(0) } } ["Stuart"]=> object(stdClass)#38 (8) { ["chats"]=> int(5) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(0) ["goods"]=> int(0) ["goodsChats"]=> int(0) ["proficiency"]=> object(stdClass)#39 (2) { ["count"]=> int(0) ["total"]=> int(0) } ["politeness"]=> object(stdClass)#40 (2) { ["count"]=> int(0) ["total"]=> int(0) } } ["Alex"]=> object(stdClass)#41 (8) { ["chats"]=> int(3) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(0) ["goods"]=> int(0) ["goodsChats"]=> int(0) ["proficiency"]=> object(stdClass)#42 (2) { ["count"]=> int(1) ["total"]=> int(5) } ["politeness"]=> object(stdClass)#43 (2) { ["count"]=> int(1) ["total"]=> int(5) } } ["Andrea"]=> object(stdClass)#44 (8) { ["chats"]=> int(1) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(1) ["goods"]=> int(0) ["goodsChats"]=> float(46.9917) ["proficiency"]=> object(stdClass)#45 (2) { ["count"]=> int(0) ["total"]=> int(0) } ["politeness"]=> object(stdClass)#46 (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(561) ["missed"]=> int(6) ["orders"]=> int(5849) ["ordersChats"]=> int(93) ["goods"]=> float(321987.067) ["goodsChats"]=> float(12658.5531) ["proficiency"]=> object(stdClass)#2 (2) { ["count"]=> int(106) ["total"]=> int(486) } ["politeness"]=> object(stdClass)#3 (2) { ["count"]=> int(107) ["total"]=> int(501) } ["staff"]=> object(stdClass)#4 (14) { ["Harry"]=> object(stdClass)#5 (8) { ["chats"]=> int(21) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(1) ["goods"]=> int(0) ["goodsChats"]=> float(41.98) ["proficiency"]=> object(stdClass)#6 (2) { ["count"]=> int(1) ["total"]=> int(5) } ["politeness"]=> object(stdClass)#7 (2) { ["count"]=> int(1) ["total"]=> int(5) } } ["Shawn"]=> object(stdClass)#8 (8) { ["chats"]=> int(18) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(3) ["goods"]=> int(0) ["goodsChats"]=> float(980.23) ["proficiency"]=> object(stdClass)#9 (2) { ["count"]=> int(3) ["total"]=> int(11) } ["politeness"]=> object(stdClass)#10 (2) { ["count"]=> int(3) ["total"]=> int(13) } } ["Louise"]=> object(stdClass)#11 (8) { ["chats"]=> int(69) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(12) ["goods"]=> int(0) ["goodsChats"]=> float(3768.57) ["proficiency"]=> object(stdClass)#12 (2) { ["count"]=> int(14) ["total"]=> int(69) } ["politeness"]=> object(stdClass)#13 (2) { ["count"]=> int(14) ["total"]=> int(69) } } ["Craig"]=> object(stdClass)#14 (8) { ["chats"]=> int(33) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(3) ["goods"]=> int(0) ["goodsChats"]=> float(373.44) ["proficiency"]=> object(stdClass)#15 (2) { ["count"]=> int(8) ["total"]=> int(36) } ["politeness"]=> object(stdClass)#16 (2) { ["count"]=> int(8) ["total"]=> int(37) } } ["Julie"]=> object(stdClass)#17 (8) { ["chats"]=> int(62) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(6) ["goods"]=> int(0) ["goodsChats"]=> float(956.04) ["proficiency"]=> object(stdClass)#18 (2) { ["count"]=> int(10) ["total"]=> int(50) } ["politeness"]=> object(stdClass)#19 (2) { ["count"]=> int(10) ["total"]=> int(49) } } ["Jennifer"]=> object(stdClass)#20 (8) { ["chats"]=> int(109) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(18) ["goods"]=> int(0) ["goodsChats"]=> float(971.93) ["proficiency"]=> object(stdClass)#21 (2) { ["count"]=> int(22) ["total"]=> int(99) } ["politeness"]=> object(stdClass)#22 (2) { ["count"]=> int(22) ["total"]=> int(105) } } ["Katie"]=> object(stdClass)#23 (8) { ["chats"]=> int(75) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(18) ["goods"]=> int(0) ["goodsChats"]=> float(2273.86) ["proficiency"]=> object(stdClass)#24 (2) { ["count"]=> int(18) ["total"]=> int(82) } ["politeness"]=> object(stdClass)#25 (2) { ["count"]=> int(18) ["total"]=> int(84) } } ["Keeley"]=> object(stdClass)#26 (8) { ["chats"]=> int(67) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(15) ["goods"]=> int(0) ["goodsChats"]=> float(2244.85) ["proficiency"]=> object(stdClass)#27 (2) { ["count"]=> int(13) ["total"]=> int(62) } ["politeness"]=> object(stdClass)#28 (2) { ["count"]=> int(14) ["total"]=> int(66) } } ["Claire"]=> object(stdClass)#29 (8) { ["chats"]=> int(75) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(14) ["goods"]=> int(0) ["goodsChats"]=> float(924.0897) ["proficiency"]=> object(stdClass)#30 (2) { ["count"]=> int(14) ["total"]=> int(58) } ["politeness"]=> object(stdClass)#31 (2) { ["count"]=> int(14) ["total"]=> int(59) } } ["Sarah"]=> object(stdClass)#32 (8) { ["chats"]=> int(13) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(2) ["goods"]=> int(0) ["goodsChats"]=> float(76.5717) ["proficiency"]=> object(stdClass)#33 (2) { ["count"]=> int(2) ["total"]=> int(9) } ["politeness"]=> object(stdClass)#34 (2) { ["count"]=> int(2) ["total"]=> int(9) } } ["Daniel"]=> object(stdClass)#35 (8) { ["chats"]=> int(4) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(0) ["goods"]=> int(0) ["goodsChats"]=> int(0) ["proficiency"]=> object(stdClass)#36 (2) { ["count"]=> int(0) ["total"]=> int(0) } ["politeness"]=> object(stdClass)#37 (2) { ["count"]=> int(0) ["total"]=> int(0) } } ["Stuart"]=> object(stdClass)#38 (8) { ["chats"]=> int(5) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(0) ["goods"]=> int(0) ["goodsChats"]=> int(0) ["proficiency"]=> object(stdClass)#39 (2) { ["count"]=> int(0) ["total"]=> int(0) } ["politeness"]=> object(stdClass)#40 (2) { ["count"]=> int(0) ["total"]=> int(0) } } ["Alex"]=> object(stdClass)#41 (8) { ["chats"]=> int(3) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(0) ["goods"]=> int(0) ["goodsChats"]=> int(0) ["proficiency"]=> object(stdClass)#42 (2) { ["count"]=> int(1) ["total"]=> int(5) } ["politeness"]=> object(stdClass)#43 (2) { ["count"]=> int(1) ["total"]=> int(5) } } ["Andrea"]=> object(stdClass)#44 (8) { ["chats"]=> int(1) ["missed"]=> int(0) ["orders"]=> int(0) ["ordersChats"]=> int(1) ["goods"]=> int(0) ["goodsChats"]=> float(46.9917) ["proficiency"]=> object(stdClass)#45 (2) { ["count"]=> int(0) ["total"]=> int(0) } ["politeness"]=> object(stdClass)#46 (2) { ["count"]=> int(0) ["total"]=> int(0) } } } }