3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "Wihtout:"; if ($var) echo "GO!"; echo "\nWith:"; if (isset($var) and $var) echo "GO!";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 3
Branch analysis from position: 2
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 7
Branch analysis from position: 3
filename:       /in/qfZA4
function name:  (null)
number of ops:  10
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     'Wihtout%3A'
    4     1      > JMPZ                                                     !0, ->3
          2    >   ECHO                                                     'GO%21'
    5     3    >   ECHO                                                     '%0AWith%3A'
    6     4        ISSET_ISEMPTY_CV                                 ~1      !0
          5      > JMPZ_EX                                          ~1      ~1, ->7
          6    >   BOOL                                             ~1      !0
          7    > > JMPZ                                                     ~1, ->9
          8    >   ECHO                                                     'GO%21'
          9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.85 ms | 1393 KiB | 13 Q