3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.25 ms | 1394 KiB | 21 Q