3v4l.org

run code in 500+ PHP versions simultaneously
<?php $json = '{response: { game_count: 106, games: [ { appid: 10, playtime_forever: 67 }, { appid: 730, playtime_forever: 0 }, { appid: 368900, playtime_forever: 0 }, { appid: 370190, playtime_forever: 0 }, ]} }'; $msgArray = json_decode($json, true); print_r($msgArray);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ld9Oa
function name:  (null)
number of ops:  10
compiled vars:  !0 = $json, !1 = $msgArray
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%7Bresponse%3A+%7B%0A++++game_count%3A+106%2C%0A++++++++games%3A+%5B%0A++++++++++++%7B%0A++++++++++++appid%3A+10%2C%0A++++++++++++playtime_forever%3A+67%0A++++++++++++%7D%2C%0A++++++++++++%7B%0A++++++++++++appid%3A+730%2C%0A++++++++++++playtime_forever%3A+0%0A++++++++++++%7D%2C%0A++++++++++++%7B%0A++++++++++++appid%3A+368900%2C%0A++++++++++++playtime_forever%3A+0%0A++++++++++++%7D%2C%0A++++++++++++%7B%0A++++++++++++appid%3A+370190%2C%0A++++++++++++playtime_forever%3A+0%0A++++++++++++%7D%2C%0A++++++++%5D%7D%0A%7D'
   25     1        INIT_FCALL                                                   'json_decode'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     <true>
          4        DO_ICALL                                             $3      
          5        ASSIGN                                                       !1, $3
   26     6        INIT_FCALL                                                   'print_r'
          7        SEND_VAR                                                     !1
          8        DO_ICALL                                                     
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
173.69 ms | 2672 KiB | 15 Q