3v4l.org

run code in 300+ PHP versions simultaneously
<?php $to = 'bhimaisthebest@mail.com'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.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/TteYo
function name:  (null)
number of ops:  14
compiled vars:  !0 = $to, !1 = $subject, !2 = $message, !3 = $headers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'bhimaisthebest%40mail.com'
    3     1        ASSIGN                                                   !1, 'the+subject'
    4     2        ASSIGN                                                   !2, 'hello'
    7     3        INIT_FCALL                                               'phpversion'
          4        DO_ICALL                                         $7      
          5        CONCAT                                           ~8      'From%3A+webmaster%40example.com%0D%0AReply-To%3A+webmaster%40example.com%0D%0AX-Mailer%3A+PHP%2F', $7
    5     6        ASSIGN                                                   !3, ~8
    9     7        INIT_FCALL                                               'mail'
          8        SEND_VAR                                                 !0
          9        SEND_VAR                                                 !1
         10        SEND_VAR                                                 !2
         11        SEND_VAR                                                 !3
         12        DO_ICALL                                                 
   10    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.28 ms | 1394 KiB | 17 Q