3v4l.org

run code in 300+ PHP versions simultaneously
<?php $envelope["from"]= "joe@example.com"; $envelope["to"] = "foo@example.com"; $envelope["cc"] = "bar@example.com"; $part1["type"] = TYPEMULTIPART; $part1["subtype"] = "mixed"; $contents = 'superzalcznik'; $filename = '2013-słit focie.7z.001'; $part2["type"] = TYPEAPPLICATION; $part2["encoding"] = ENCBINARY; $part2["subtype"] = "octet-stream"; $part2["description"] = basename($filename); $part2["contents.data"] = $contents; $part3["type"] = TYPETEXT; $part3["subtype"] = "plain"; $part3["description"] = "description3"; $part3["contents.data"] = "contents.data3\n\n\n\t"; $body[1] = $part1; $body[2] = $part2; $body[3] = $part3; echo nl2br(imap_mail_compose($envelope, $body)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fAS29
function name:  (null)
number of ops:  52
compiled vars:  !0 = $envelope, !1 = $part1, !2 = $contents, !3 = $filename, !4 = $part2, !5 = $part3, !6 = $body
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'from'
          1        OP_DATA                                                  'joe%40example.com'
    4     2        ASSIGN_DIM                                               !0, 'to'
          3        OP_DATA                                                  'foo%40example.com'
    5     4        ASSIGN_DIM                                               !0, 'cc'
          5        OP_DATA                                                  'bar%40example.com'
    7     6        FETCH_CONSTANT                                   ~11     'TYPEMULTIPART'
          7        ASSIGN_DIM                                               !1, 'type'
          8        OP_DATA                                                  ~11
    8     9        ASSIGN_DIM                                               !1, 'subtype'
         10        OP_DATA                                                  'mixed'
   10    11        ASSIGN                                                   !2, 'superzalcznik'
   11    12        ASSIGN                                                   !3, '2013-s%C5%82it+focie.7z.001'
   13    13        FETCH_CONSTANT                                   ~16     'TYPEAPPLICATION'
         14        ASSIGN_DIM                                               !4, 'type'
         15        OP_DATA                                                  ~16
   14    16        FETCH_CONSTANT                                   ~18     'ENCBINARY'
         17        ASSIGN_DIM                                               !4, 'encoding'
         18        OP_DATA                                                  ~18
   15    19        ASSIGN_DIM                                               !4, 'subtype'
         20        OP_DATA                                                  'octet-stream'
   16    21        INIT_FCALL                                               'basename'
         22        SEND_VAR                                                 !3
         23        DO_ICALL                                         $21     
         24        ASSIGN_DIM                                               !4, 'description'
         25        OP_DATA                                                  $21
   17    26        ASSIGN_DIM                                               !4, 'contents.data'
         27        OP_DATA                                                  !2
   19    28        FETCH_CONSTANT                                   ~24     'TYPETEXT'
         29        ASSIGN_DIM                                               !5, 'type'
         30        OP_DATA                                                  ~24
   20    31        ASSIGN_DIM                                               !5, 'subtype'
         32        OP_DATA                                                  'plain'
   21    33        ASSIGN_DIM                                               !5, 'description'
         34        OP_DATA                                                  'description3'
   22    35        ASSIGN_DIM                                               !5, 'contents.data'
         36        OP_DATA                                                  'contents.data3%0A%0A%0A%09'
   24    37        ASSIGN_DIM                                               !6, 1
         38        OP_DATA                                                  !1
   25    39        ASSIGN_DIM                                               !6, 2
         40        OP_DATA                                                  !4
   26    41        ASSIGN_DIM                                               !6, 3
         42        OP_DATA                                                  !5
   28    43        INIT_FCALL                                               'nl2br'
         44        INIT_FCALL_BY_NAME                                       'imap_mail_compose'
         45        SEND_VAR_EX                                              !0
         46        SEND_VAR_EX                                              !6
         47        DO_FCALL                                      0  $31     
         48        SEND_VAR                                                 $31
         49        DO_ICALL                                         $32     
         50        ECHO                                                     $32
   30    51      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.2 ms | 1400 KiB | 17 Q