3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
195.21 ms | 1392 KiB | 13 Q