3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.92 ms | 1009 KiB | 14 Q