3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bits = 64; $N = 0xffffffffffffffff; $result = -( pow(2, $bits) - $N ); echo $result;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BRcgI
function name:  (null)
number of ops:  11
compiled vars:  !0 = $bits, !1 = $N, !2 = $result
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                                               'pow'
          3        SEND_VAL                                                 2
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        SUB                                              ~6      $5, !1
          7        MUL                                              ~7      ~6, -1
          8        ASSIGN                                                   !2, ~7
    5     9        ECHO                                                     !2
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.9 ms | 1394 KiB | 15 Q