3v4l.org

run code in 300+ 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
         10        DO_ICALL                                                 
    7    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.56 ms | 1394 KiB | 17 Q