3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Contact subject $subject ="$subject"; // Details $message="$detail"; // Mail of sender $mail_from="$customer_mail"; // From $header="from: $name <$mail_from>"; // Enter your email address $to ='someone@somewhere.com'; $send_contact=mail($to,$subject,$message,$header); // Check, if message sent to your email // display message "We've recived your information" if($send_contact){ echo "We've recived your contact information"; } else { echo "ERROR"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 23
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X4WJa
function name:  (null)
number of ops:  25
compiled vars:  !0 = $subject, !1 = $message, !2 = $detail, !3 = $mail_from, !4 = $customer_mail, !5 = $header, !6 = $name, !7 = $to, !8 = $send_contact
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   CAST                                          6  ~9      !0
          1        ASSIGN                                                   !0, ~9
    7     2        CAST                                          6  ~11     !2
          3        ASSIGN                                                   !1, ~11
   10     4        CAST                                          6  ~13     !4
          5        ASSIGN                                                   !3, ~13
   13     6        ROPE_INIT                                     5  ~16     'from%3A+'
          7        ROPE_ADD                                      1  ~16     ~16, !6
          8        ROPE_ADD                                      2  ~16     ~16, '+%3C'
          9        ROPE_ADD                                      3  ~16     ~16, !3
         10        ROPE_END                                      4  ~15     ~16, '%3E'
         11        ASSIGN                                                   !5, ~15
   16    12        ASSIGN                                                   !7, 'someone%40somewhere.com'
   17    13        INIT_FCALL                                               'mail'
         14        SEND_VAR                                                 !7
         15        SEND_VAR                                                 !0
         16        SEND_VAR                                                 !1
         17        SEND_VAR                                                 !5
         18        DO_ICALL                                         $21     
         19        ASSIGN                                                   !8, $21
   21    20      > JMPZ                                                     !8, ->23
   22    21    >   ECHO                                                     'We%27ve+recived+your+contact+information'
         22      > JMP                                                      ->24
   25    23    >   ECHO                                                     'ERROR'
   27    24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.96 ms | 1395 KiB | 15 Q