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
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cc3Xi
function name:  (null)
number of ops:  11
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        BW_OR                                            ~8      !2, !1
          6        MUL                                              ~9      !0, 2
          7        SL                                               ~10     ~8, ~9
          8        BW_OR                                            ~11     !0, ~10
          9        ECHO                                                     ~11
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.66 ms | 1393 KiB | 13 Q