3v4l.org

run code in 500+ PHP versions simultaneously
<?php $key = 0; $arr = ['key' => 'bar']; if ($arr['key'] != $key) { print("Here!"); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/TJ2cb
function name:  (null)
number of ops:  7
compiled vars:  !0 = $key, !1 = $arr
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 0
    4     1        ASSIGN                                                       !1, <array>
    6     2        FETCH_DIM_R                                          ~4      !1, 'key'
          3        IS_NOT_EQUAL                                                 !0, ~4
          4      > JMPZ                                                         ~5, ->6
    7     5    >   ECHO                                                         'Here%21'
    8     6    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.97 ms | 2101 KiB | 13 Q