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/HiodV
function name:  (null)
number of ops:  33
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        ASSIGN_OP                                    11          !0, $7
   15    20        INIT_FCALL                                               'printf'
         21        SEND_VAL                                                 '%2504b%0A'
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                                 
   17    24        INIT_FCALL                                               'bindec'
         25        SEND_VAL                                                 '0101'
         26        DO_ICALL                                         $10     
         27        ASSIGN_OP                                    11          !0, $10
   18    28        INIT_FCALL                                               'printf'
         29        SEND_VAL                                                 '%2504b%0A'
         30        SEND_VAR                                                 !0
         31        DO_ICALL                                                 
   20    32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.69 ms | 1388 KiB | 17 Q