3v4l.org

run code in 300+ PHP versions simultaneously
<?php // ______ - // | _____ mind. 1 Position komplett offen // || ____ Position mit Teilmengen geliefert // ||| ___ alles komplett // |||| $bitmask = bindec('0101'); printf("%04b\n", $bitmask); $bitmask |= bindec('0010'); printf("%04b\n", $bitmask); $bitmask &= ~bindec('0101'); printf("%04b\n", $bitmask); $bitmask &= ~bindec('0101'); printf("%04b\n", $bitmask); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k9Mat
function name:  (null)
number of ops:  35
compiled vars:  !0 = $bitmask
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'bindec'
          1        SEND_VAL                                                 '0101'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    9     4        INIT_FCALL                                               'printf'
          5        SEND_VAL                                                 '%2504b%0A'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
   11     8        INIT_FCALL                                               'bindec'
          9        SEND_VAL                                                 '0010'
         10        DO_ICALL                                         $4      
         11        ASSIGN_OP                                     9          !0, $4
   12    12        INIT_FCALL                                               'printf'
         13        SEND_VAL                                                 '%2504b%0A'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
   14    16        INIT_FCALL                                               'bindec'
         17        SEND_VAL                                                 '0101'
         18        DO_ICALL                                         $7      
         19        BW_NOT                                           ~8      $7
         20        ASSIGN_OP                                    10          !0, ~8
   15    21        INIT_FCALL                                               'printf'
         22        SEND_VAL                                                 '%2504b%0A'
         23        SEND_VAR                                                 !0
         24        DO_ICALL                                                 
   17    25        INIT_FCALL                                               'bindec'
         26        SEND_VAL                                                 '0101'
         27        DO_ICALL                                         $11     
         28        BW_NOT                                           ~12     $11
         29        ASSIGN_OP                                    10          !0, ~12
   18    30        INIT_FCALL                                               'printf'
         31        SEND_VAL                                                 '%2504b%0A'
         32        SEND_VAR                                                 !0
         33        DO_ICALL                                                 
   20    34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.49 ms | 1396 KiB | 17 Q