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; $a=(1<<0); $b=(1<<1); echo $b|$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/PMb6u
function name:  (null)
number of ops:  16
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
    6    11        ASSIGN                                                   !0, 1
    7    12        ASSIGN                                                   !1, 2
    8    13        BW_OR                                            ~14     !1, !0
         14        ECHO                                                     ~14
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.88 ms | 1393 KiB | 13 Q