3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(PHP_INT_SIZE, array_shift(unpack("N", pack("N", -111111))) << 32 >> 32);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rnGFD
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 8
          2        INIT_FCALL                                               'array_shift'
          3        INIT_FCALL                                               'unpack'
          4        SEND_VAL                                                 'N'
          5        INIT_FCALL                                               'pack'
          6        SEND_VAL                                                 'N'
          7        SEND_VAL                                                 -111111
          8        DO_ICALL                                         $0      
          9        SEND_VAR                                                 $0
         10        DO_ICALL                                         $1      
         11        SEND_VAR_NO_REF                               0          $1
         12        DO_ICALL                                         $2      
         13        SL                                               ~3      $2, 32
         14        SR                                               ~4      ~3, 32
         15        SEND_VAL                                                 ~4
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.02 ms | 1394 KiB | 21 Q