3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.56 ms | 1394 KiB | 15 Q