3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.89 ms | 1394 KiB | 15 Q