3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=3;$b=2; if($y=$a>$b||die('Not Greater'))echo'Is Greater'; echo 'output:'.$y;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 79) Position 1 = -2
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
filename:       /in/L8vQh
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $b, !2 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 3
          1        ASSIGN                                                   !1, 2
    3     2        IS_SMALLER                                       ~5      !1, !0
          3      > JMPNZ_EX                                         ~5      ~5, ->6
          4    > > EXIT                                                     'Not+Greater'
          5*       BOOL                                             ~5      <true>
          6    >   ASSIGN                                           ~6      !2, ~5
          7      > JMPZ                                                     ~6, ->9
          8    >   ECHO                                                     'Is+Greater'
    4     9    >   CONCAT                                           ~7      'output%3A', !2
         10        ECHO                                                     ~7
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.66 ms | 1393 KiB | 13 Q