3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.17 ms | 1394 KiB | 17 Q