3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_include_path("include_path", "C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\PEAR"); include("Mail.php"); /* mail setup recipients, subject etc */ $recipients = "data.flame@gmail.com"; $headers["From"] = "info@chimpeon.com"; $headers["To"] = "data.flame@gmail.com"; $headers["Subject"] = "User feedback"; $mailmsg = "Hello, This is a test."; /* SMTP server name, port, user/passwd */ $smtpinfo["host"] = "localhost"; $smtpinfo["port"] = "25"; $smtpinfo["auth"] = true; $smtpinfo["username"] = "info@chimpeon.com"; $smtpinfo["password"] = "8eat5hitDown642"; /* Create the mail object using the Mail::factory method */ $mail_object =& Mail::factory("smtp", $smtpinfo); /* Ok send mail */ $mail_object->send($recipients, $headers, $mailmsg); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AUblq
function name:  (null)
number of ops:  34
compiled vars:  !0 = $recipients, !1 = $headers, !2 = $mailmsg, !3 = $smtpinfo, !4 = $mail_object
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'set_include_path'
          1        SEND_VAL                                                 'include_path'
          2        SEND_VAL                                                 'C%3A%5CProgram+Files+%28x86%29%5CParallels%5CPlesk%5CAdditional%5CPleskPHP5%5CPEAR'
          3        DO_ICALL                                                 
    3     4        INCLUDE_OR_EVAL                                          'Mail.php', INCLUDE
    5     5        ASSIGN                                                   !0, 'data.flame%40gmail.com'
    6     6        ASSIGN_DIM                                               !1, 'From'
          7        OP_DATA                                                  'info%40chimpeon.com'
    7     8        ASSIGN_DIM                                               !1, 'To'
          9        OP_DATA                                                  'data.flame%40gmail.com'
    8    10        ASSIGN_DIM                                               !1, 'Subject'
         11        OP_DATA                                                  'User+feedback'
    9    12        ASSIGN                                                   !2, 'Hello%2C+This+is+a+test.'
   11    13        ASSIGN_DIM                                               !3, 'host'
         14        OP_DATA                                                  'localhost'
   12    15        ASSIGN_DIM                                               !3, 'port'
         16        OP_DATA                                                  '25'
   13    17        ASSIGN_DIM                                               !3, 'auth'
         18        OP_DATA                                                  <true>
   14    19        ASSIGN_DIM                                               !3, 'username'
         20        OP_DATA                                                  'info%40chimpeon.com'
   15    21        ASSIGN_DIM                                               !3, 'password'
         22        OP_DATA                                                  '8eat5hitDown642'
   17    23        INIT_STATIC_METHOD_CALL                                  'Mail', 'factory'
         24        SEND_VAL_EX                                              'smtp'
         25        SEND_VAR_EX                                              !3
         26        DO_FCALL                                      0  $17     
         27        ASSIGN_REF                                               !4, $17
   19    28        INIT_METHOD_CALL                                         !4, 'send'
         29        SEND_VAR_EX                                              !0
         30        SEND_VAR_EX                                              !1
         31        SEND_VAR_EX                                              !2
         32        DO_FCALL                                      0          
   20    33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.92 ms | 1396 KiB | 15 Q