3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 10; $b = 11; if ($a < ++$a || $b < ++$b) print "hello"; else print "hi";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/QbKIr
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 10
    4     1        ASSIGN                                                   !1, 11
    5     2        PRE_INC                                          ~4      !0
          3        IS_SMALLER                                       ~5      !0, ~4
          4      > JMPNZ_EX                                         ~5      ~5, ->8
          5    >   PRE_INC                                          ~6      !1
          6        IS_SMALLER                                       ~7      !1, ~6
          7        BOOL                                             ~5      ~7
          8    > > JMPZ                                                     ~5, ->11
    6     9    >   ECHO                                                     'hello'
         10      > JMP                                                      ->12
    8    11    >   ECHO                                                     'hi'
         12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.22 ms | 1393 KiB | 13 Q