3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.54 ms | 1394 KiB | 19 Q