3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = (array)json_decode('{"9999":true}'); var_dump(isset($arr[9999], $arr['9999']));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/8Q4DP
function name:  (null)
number of ops:  13
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        ISSET_ISEMPTY_DIM_OBJ                         0  ~4      !0, 9999
          7      > JMPZ_EX                                          ~4      ~4, ->10
          8    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~5      !0, 9999
          9        BOOL                                             ~4      ~5
         10    >   SEND_VAL                                                 ~4
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.48 ms | 1394 KiB | 17 Q