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; $a=0x01; $b=0x02; printf('%x', ($a<<$b.$b)); print (19.6*100)!==(double)1960;
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/R2rfP
function name:  (null)
number of ops:  27
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
    9    15        ASSIGN                                                   !0, 1
   10    16        ASSIGN                                                   !1, 2
   11    17        INIT_FCALL                                               'printf'
         18        SEND_VAL                                                 '%25x'
         19        SL                                               ~17     !0, !1
         20        CONCAT                                           ~18     ~17, !1
         21        SEND_VAL                                                 ~18
         22        DO_ICALL                                                 
   12    23        CAST                                          5  ~20     1960
         24        IS_NOT_IDENTICAL                                 ~21     ~20, 1960
         25        ECHO                                                     ~21
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.28 ms | 1395 KiB | 15 Q