3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(json_decode('{status:"OK",loc:"India",country:{regions:[{ap:"755",mp:"768"},{up:"125",mh:"188"}]},src:"gov"}',true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dq8J7
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'json_decode'
          2        SEND_VAL                                                 '%7Bstatus%3A%22OK%22%2Cloc%3A%22India%22%2Ccountry%3A%7Bregions%3A%5B%7Bap%3A%22755%22%2Cmp%3A%22768%22%7D%2C%7Bup%3A%22125%22%2Cmh%3A%22188%22%7D%5D%7D%2Csrc%3A%22gov%22%7D'
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.84 ms | 1398 KiB | 17 Q