3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.52 ms | 1394 KiB | 15 Q