3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = []; if(!isset($a[1][2])){ $a[1][2] = 'anotheu'; echo "Nope"; } else { echo "Yup"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 10
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nocca
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        FETCH_DIM_IS                                     ~2      !0, 1
          2        ISSET_ISEMPTY_DIM_OBJ                         0  ~3      ~2, 2
          3        BOOL_NOT                                         ~4      ~3
          4      > JMPZ                                                     ~4, ->10
    6     5    >   FETCH_DIM_W                                      $5      !0, 1
          6        ASSIGN_DIM                                               $5, 2
          7        OP_DATA                                                  'anotheu'
    7     8        ECHO                                                     'Nope'
          9      > JMP                                                      ->11
    9    10    >   ECHO                                                     'Yup'
   10    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.36 ms | 1393 KiB | 13 Q