3v4l.org

run code in 500+ PHP versions simultaneously
<?php $header = 'X-My-Header: =?us-ascii?Q?hello_world?='; var_dump( mb_decode_mimeheader($header), iconv_mime_decode($header) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6TlQs
function name:  (null)
number of ops:  12
compiled vars:  !0 = $header
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'X-My-Header%3A+%3D%3Fus-ascii%3FQ%3Fhello_world%3F%3D'
    4     1        INIT_FCALL                                                   'var_dump'
    5     2        INIT_FCALL                                                   'mb_decode_mimeheader'
          3        SEND_VAR                                                     !0
          4        DO_ICALL                                             $2      
          5        SEND_VAR                                                     $2
    6     6        INIT_FCALL_BY_NAME                                           'iconv_mime_decode'
          7        SEND_VAR_EX                                                  !0
          8        DO_FCALL                                          0  $3      
          9        SEND_VAR                                                     $3
    4    10        DO_ICALL                                                     
    7    11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.15 ms | 2084 KiB | 15 Q