3v4l.org

run code in 300+ PHP versions simultaneously
<?php // $foo = 1; if (0 || (isset($foo) && $foo)) echo 'hi'; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 2, Position 2 = 3
Branch analysis from position: 2
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
Branch analysis from position: 3
filename:       /in/40Ifa
function name:  (null)
number of ops:  7
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ISSET_ISEMPTY_CV                                 ~1      !0
          1      > JMPZ_EX                                          ~1      ~1, ->3
          2    >   BOOL                                             ~1      !0
          3    >   BOOL                                             ~2      ~1
          4      > JMPZ                                                     ~2, ->6
          5    >   ECHO                                                     'hi'
    6     6    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.68 ms | 1392 KiB | 13 Q