3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.42 ms | 1392 KiB | 13 Q