3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump($a=-2147483648, bin2hex($b=pack("i", $a)), unpack("i", $b));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3pTU9
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        ASSIGN                                               ~2      !0, -2147483648
          2        SEND_VAL                                                     ~2
          3        INIT_FCALL                                                   'bin2hex'
          4        INIT_FCALL                                                   'pack'
          5        SEND_VAL                                                     'i'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                             $3      
          8        ASSIGN                                               ~4      !1, $3
          9        SEND_VAL                                                     ~4
         10        DO_ICALL                                             $5      
         11        SEND_VAR                                                     $5
         12        INIT_FCALL                                                   'unpack'
         13        SEND_VAL                                                     'i'
         14        SEND_VAR                                                     !1
         15        DO_ICALL                                             $6      
         16        SEND_VAR                                                     $6
         17        DO_ICALL                                                     
         18      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.13 ms | 480 KiB | 11 Q