3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a =[]; $f = a[1]; if($f == true){ echo "hi"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/v0dXd
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a, !1 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        FETCH_CONSTANT                                   ~3      'a'
          2        FETCH_DIM_R                                      ~4      ~3, 1
          3        ASSIGN                                                   !1, ~4
    6     4        BOOL                                             ~6      !1
          5      > JMPZ                                                     ~6, ->7
    7     6    >   ECHO                                                     'hi'
    9     7    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.37 ms | 1392 KiB | 13 Q