3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.97 ms | 1394 KiB | 17 Q