3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = (array)json_decode('{"9999":true}'); var_dump($arr, key($arr), isset($arr['9999']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W3T0d
function name:  (null)
number of ops:  15
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%7B%229999%22%3Atrue%7D'
          2        DO_ICALL                                         $1      
          3        CAST                                          7  ~2      $1
          4        ASSIGN                                                   !0, ~2
    4     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        INIT_FCALL                                               'key'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        ISSET_ISEMPTY_DIM_OBJ                         0  ~5      !0, 9999
         12        SEND_VAL                                                 ~5
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.78 ms | 1394 KiB | 19 Q