3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bits = 32; $N = 0xfffffffe; $result = -( bcpow(2, $bits) - $N); echo $result,"\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RYBLR
function name:  (null)
number of ops:  12
compiled vars:  !0 = $bits, !1 = $N, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 32
    3     1        ASSIGN                                                   !1, 4294967294
    5     2        INIT_FCALL_BY_NAME                                       'bcpow'
          3        SEND_VAL_EX                                              2
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0  $5      
          6        SUB                                              ~6      $5, !1
          7        MUL                                              ~7      ~6, -1
          8        ASSIGN                                                   !2, ~7
    6     9        ECHO                                                     !2
         10        ECHO                                                     '%0A'
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.05 ms | 1392 KiB | 13 Q