3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bitmask = bindec('0101') . "\n"; echo $bitmask; $bitmask |= bindec('0010'); echo bin2hex($bitmask); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/krAVV
function name:  (null)
number of ops:  15
compiled vars:  !0 = $bitmask
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'bindec'
          1        SEND_VAL                                                 '0101'
          2        DO_ICALL                                         $1      
          3        CONCAT                                           ~2      $1, '%0A'
          4        ASSIGN                                                   !0, ~2
    4     5        ECHO                                                     !0
    6     6        INIT_FCALL                                               'bindec'
          7        SEND_VAL                                                 '0010'
          8        DO_ICALL                                         $4      
          9        ASSIGN_OP                                     9          !0, $4
    8    10        INIT_FCALL                                               'bin2hex'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        ECHO                                                     $6
   11    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.98 ms | 1394 KiB | 17 Q