3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.84 ms | 939 KiB | 20 Q