3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $to = 'danceclubunit@hotmail.com'; $subject = 'Subject'; $message = 'This is a test'; $headers = 'From: webmaster@yourdot.com' . "\r\n" . 'Reply-To: webmaster@yourdot.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7dd2c
function name:  (null)
number of ops:  17
compiled vars:  !0 = $to, !1 = $subject, !2 = $message, !3 = $headers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, 'danceclubunit%40hotmail.com'
    6     4        ASSIGN                                                   !1, 'Subject'
    7     5        ASSIGN                                                   !2, 'This+is+a+test'
   10     6        INIT_FCALL                                               'phpversion'
          7        DO_ICALL                                         $8      
          8        CONCAT                                           ~9      'From%3A+webmaster%40yourdot.com%0D%0AReply-To%3A+webmaster%40yourdot.com%0D%0AX-Mailer%3A+PHP%2F', $8
    8     9        ASSIGN                                                   !3, ~9
   11    10        INIT_FCALL                                               'mail'
         11        SEND_VAR                                                 !0
         12        SEND_VAR                                                 !1
         13        SEND_VAR                                                 !2
         14        SEND_VAR                                                 !3
         15        DO_ICALL                                                 
   12    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.21 ms | 1001 KiB | 16 Q