3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_internal_encoding('UTF-8'); echo 'Subject: ', mb_encode_mimeheader('😢', 'UTF-8', 'Q');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KVAJU
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mb_internal_encoding'
          1        SEND_VAL                                                 'UTF-8'
          2        DO_ICALL                                                 
    4     3        ECHO                                                     'Subject%3A+'
          4        INIT_FCALL                                               'mb_encode_mimeheader'
          5        SEND_VAL                                                 '%F0%9F%98%A2'
          6        SEND_VAL                                                 'UTF-8'
          7        SEND_VAL                                                 'Q'
          8        DO_ICALL                                         $1      
          9        ECHO                                                     $1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.44 ms | 1385 KiB | 17 Q