3v4l.org

run code in 300+ PHP versions simultaneously
<?php $to = "eradarshjain@gmail.com"; $subject = "This is subject"; $message = "This is simple text message."; $header = "From:abc@papa.com \r\n"; $retval = mail ($to,$subject,$message,$header); if( $retval == true ) { echo "Message sent successfully..."; } else { echo "Message could not be sent..."; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aD5jH
function name:  (null)
number of ops:  17
compiled vars:  !0 = $to, !1 = $subject, !2 = $message, !3 = $header, !4 = $retval
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'eradarshjain%40gmail.com'
    4     1        ASSIGN                                                   !1, 'This+is+subject'
    5     2        ASSIGN                                                   !2, 'This+is+simple+text+message.'
    6     3        ASSIGN                                                   !3, 'From%3Aabc%40papa.com+%0D%0A'
    7     4        INIT_FCALL                                               'mail'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        SEND_VAR                                                 !2
          8        SEND_VAR                                                 !3
          9        DO_ICALL                                         $9      
         10        ASSIGN                                                   !4, $9
    8    11        BOOL                                             ~11     !4
         12      > JMPZ                                                     ~11, ->15
   10    13    >   ECHO                                                     'Message+sent+successfully...'
         14      > JMP                                                      ->16
   14    15    >   ECHO                                                     'Message+could+not+be+sent...'
   16    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.3 ms | 1395 KiB | 15 Q