3v4l.org

run code in 300+ PHP versions simultaneously
<?php $decode = json_decode('{"droplet":{"id":3038902}}'); print_r($decode['id']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lE3Di
function name:  (null)
number of ops:  9
compiled vars:  !0 = $decode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%7B%22droplet%22%3A%7B%22id%22%3A3038902%7D%7D'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    4     4        INIT_FCALL                                               'print_r'
          5        FETCH_DIM_R                                      ~3      !0, 'id'
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.85 ms | 1394 KiB | 17 Q