3v4l.org

run code in 300+ PHP versions simultaneously
<?php $song = array('blah' => 23214); if ($song && (isset($song['t']) == true)) { echo 'true'; } else if ($song && (isset($song['t']) == false)) { echo 'false'; } else { echo 'neither'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 2, Position 2 = 5
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 46) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
Branch analysis from position: 5
filename:       /in/mop8m
function name:  (null)
number of ops:  17
compiled vars:  !0 = $song
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1      > JMPZ_EX                                          ~2      !0, ->5
          2    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~3      !0, 't'
          3        BOOL                                             ~4      ~3
          4        BOOL                                             ~2      ~4
          5    > > JMPZ                                                     ~2, ->8
    6     6    >   ECHO                                                     'true'
          7      > JMP                                                      ->16
    7     8    > > JMPZ_EX                                          ~5      !0, ->12
          9    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~6      !0, 't'
         10        BOOL_NOT                                         ~7      ~6
         11        BOOL                                             ~5      ~7
         12    > > JMPZ                                                     ~5, ->15
    8    13    >   ECHO                                                     'false'
         14      > JMP                                                      ->16
   10    15    >   ECHO                                                     'neither'
   11    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148 ms | 1385 KiB | 13 Q