3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = ['a' => 'test1', 'b' => 'test2', 'c' => 'test3']; $feature = true; $featureValue = $array['d']; if ($feature && isset($featureValue)) { echo "Okay, logic works!"; } else { echo "NOPE! Logic does not work!"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
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
Branch analysis from position: 7
filename:       /in/VVoce
function name:  (null)
number of ops:  12
compiled vars:  !0 = $array, !1 = $feature, !2 = $featureValue
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        ASSIGN                                                       !1, <true>
    5     2        FETCH_DIM_R                                          ~5      !0, 'd'
          3        ASSIGN                                                       !2, ~5
    8     4      > JMPZ_EX                                              ~7      !1, ->7
          5    >   ISSET_ISEMPTY_CV                                     ~8      !2
          6        BOOL                                                 ~7      ~8
          7    > > JMPZ                                                         ~7, ->10
    9     8    >   ECHO                                                         'Okay%2C+logic+works%21'
    8     9      > JMP                                                          ->11
   11    10    >   ECHO                                                         'NOPE%21+Logic+does+not+work%21'
   12    11    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
126.08 ms | 475 KiB | 7 Q