3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n = 6553600; $b = (((0x0000FFFF & $n) << 16) + ((0xFFFF0000 & $n) >> 16)); echo $b; echo "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rfSmp
function name:  (null)
number of ops:  10
compiled vars:  !0 = $n, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 6553600
    6     1        BW_AND                                           ~3      !0, 65535
          2        SL                                               ~4      ~3, 16
          3        BW_AND                                           ~5      !0, 4294901760
          4        SR                                               ~6      ~5, 16
          5        ADD                                              ~7      ~4, ~6
          6        ASSIGN                                                   !1, ~7
    8     7        ECHO                                                     !1
   10     8        ECHO                                                     '%0A'
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.32 ms | 1392 KiB | 13 Q