3v4l.org

run code in 300+ PHP versions simultaneously
<?php $to = "huub.van.baal@planet.nl"; $subject = "This is subject"; $message = "<b>This is HTML message.</b>"; $message .= "<h1>This is headline.</h1>"; $header = "From: \"Huub van Baal\" <huub@workinmall.nl>\r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-type: text/html\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 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/svslp
function name:  (null)
number of ops:  20
compiled vars:  !0 = $to, !1 = $subject, !2 = $message, !3 = $header, !4 = $retval
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'huub.van.baal%40planet.nl'
    3     1        ASSIGN                                                   !1, 'This+is+subject'
    5     2        ASSIGN                                                   !2, '%3Cb%3EThis+is+HTML+message.%3C%2Fb%3E'
    6     3        ASSIGN_OP                                     8          !2, '%3Ch1%3EThis+is+headline.%3C%2Fh1%3E'
    8     4        ASSIGN                                                   !3, 'From%3A+%22Huub+van+Baal%22+%3Chuub%40workinmall.nl%3E%0D%0A'
    9     5        ASSIGN_OP                                     8          !3, 'MIME-Version%3A+1.0%0D%0A'
   10     6        ASSIGN_OP                                     8          !3, 'Content-type%3A+text%2Fhtml%0D%0A'
   12     7        INIT_FCALL                                               'mail'
          8        SEND_VAR                                                 !0
          9        SEND_VAR                                                 !1
         10        SEND_VAR                                                 !2
         11        SEND_VAR                                                 !3
         12        DO_ICALL                                         $12     
         13        ASSIGN                                                   !4, $12
   14    14        BOOL                                             ~14     !4
         15      > JMPZ                                                     ~14, ->18
   16    16    >   ECHO                                                     'Message+sent+successfully...'
         17      > JMP                                                      ->19
   20    18    >   ECHO                                                     'Message+could+not+be+sent...'
   22    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.19 ms | 1400 KiB | 15 Q