3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = []; $bar = ['a' => ['b' => ['c' => true]]]; var_dump(isset($foo['a']['b']['c'])); var_dump(isset($bar['a']['b']['c']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W4sm7
function name:  (null)
number of ops:  15
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'var_dump'
          3        FETCH_DIM_IS                                     ~4      !0, 'a'
          4        FETCH_DIM_IS                                     ~5      ~4, 'b'
          5        ISSET_ISEMPTY_DIM_OBJ                         0  ~6      ~5, 'c'
          6        SEND_VAL                                                 ~6
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'var_dump'
          9        FETCH_DIM_IS                                     ~8      !1, 'a'
         10        FETCH_DIM_IS                                     ~9      ~8, 'b'
         11        ISSET_ISEMPTY_DIM_OBJ                         0  ~10     ~9, 'c'
         12        SEND_VAL                                                 ~10
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.08 ms | 1394 KiB | 15 Q