3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=(1<<0); $v=(1<<$a); $c=(1<<$v); 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/FDnkN
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $v, !2 = $c, !3 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        SL                                               ~5      1, !0
          2        ASSIGN                                                   !1, ~5
    4     3        SL                                               ~7      1, !1
          4        ASSIGN                                                   !2, ~7
    5     5      > JMPNZ_EX                                         ~9      !2, ->7
          6    >   BOOL                                             ~9      !3
          7    >   MUL                                              ~10     !0, 2
          8        SL                                               ~11     ~9, ~10
          9        BW_OR                                            ~12     !0, ~11
         10        ECHO                                                     ~12
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.53 ms | 1384 KiB | 13 Q