3v4l.org

run code in 300+ PHP versions simultaneously
<?php $somevar[0] = array('foo'); echo 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/MgS19
function name:  (null)
number of ops:  9
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        FETCH_DIM_IS                                     ~2      !0, 0
          3        FETCH_DIM_IS                                     ~3      ~2, 1
          4        FETCH_DIM_IS                                     ~4      ~3, 2
          5        FETCH_DIM_IS                                     ~5      ~4, 3
          6        ISSET_ISEMPTY_DIM_OBJ                         1  ~6      ~5, 4
          7        ECHO                                                     ~6
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.34 ms | 1392 KiB | 13 Q