3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.12 ms | 1398 KiB | 15 Q