3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.61 ms | 1393 KiB | 13 Q