3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bits = 64; $N = 0xfffffffffffffffe; var_dump( -( pow(2, $bits) - $N ) ); // -2
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ocOXU
function name:  (null)
number of ops:  12
compiled vars:  !0 = $bits, !1 = $N
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 64
    3     1        ASSIGN                                                   !1, 1.84467e+19
    4     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'pow'
          4        SEND_VAL                                                 2
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        SUB                                              ~5      $4, !1
          8        MUL                                              ~6      ~5, -1
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.53 ms | 1394 KiB | 17 Q