3v4l.org

run code in 300+ PHP versions simultaneously
<?php $source = 0100775; $map = [ 'Xbit' => $source & 0007000, 'Usr' => $source & 0000700, 'Grp' => $source & 0000070, 'Oth' => $source & 000007 ]; var_dump($map);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G4O52
function name:  (null)
number of ops:  14
compiled vars:  !0 = $source, !1 = $map
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 33277
    4     1        BW_AND                                           ~3      !0, 3584
          2        INIT_ARRAY                                       ~4      ~3, 'Xbit'
    5     3        BW_AND                                           ~5      !0, 448
          4        ADD_ARRAY_ELEMENT                                ~4      ~5, 'Usr'
    6     5        BW_AND                                           ~6      !0, 56
          6        ADD_ARRAY_ELEMENT                                ~4      ~6, 'Grp'
    7     7        BW_AND                                           ~7      !0, 7
          8        ADD_ARRAY_ELEMENT                                ~4      ~7, 'Oth'
    3     9        ASSIGN                                                   !1, ~4
   10    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.92 ms | 1394 KiB | 15 Q