3v4l.org

run code in 300+ PHP versions simultaneously
<? //Created By MD55 Bütün Haklarý Saklýdýr... // Bunlarý Kendinize Göre Ayarlýyacaksýnýz... $address = 'mbcortoglu@yandex.com'; // Gönderilmesini Ýstediðin Mail Adresi... $subj = 'FormMailden Mail Geldi'; // Mesajýn Baþlýðý... //$returnto = 'http://www.cort.cf'; // Mail Gönderildikten Sonraki Gözüken Sitenin Adresi... //Lütfen Geri Kalan Kodda Deðiþiklik Yapmayýnýz Çalýþmayabilir... $address = ($_POST['sendto'])?$_POST['sendto']:$address; $subj = ($_POST['subject'])?$_POST['subject']:$subj; $returnto = ($_POST['returnto'])?$_POST['returnto']:$returnto; if (eregi('^.+@.+\.[a-z]{2,6}',$_POST['email'])) { $email = $_POST['email']; $message = ""; } else { $email = $address; $message = ""; } foreach ($_POST as $key => $val) { if ($key != 'returnto' && $key != 'email' && $key != 'subject' && $key != 'sendto') { $message .= ''.$val."\n"; } } $message = stripslashes($message); if (@mail($address, $subj, $message,"From: ".$email)) { if ($returnto) { header('Location: '.$returnto); } else { ?><html><body><center><font color="green"><b>Mail Gönderildi!</b></font><p><a href="JavaScript:history.back()">Geri Dön</a></center></body></html><? } } else { ?><html><body><center><font color="red"><b>MAili Göndermekte Bir Sorun Yaþanýyor</b></font><p><a href="JavaScript:history.back()">Geri Dön</a></center></body></html><? } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 18
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 27
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 42
Branch analysis from position: 37
1 jumps found. (Code = 42) Position 1 = 44
Branch analysis from position: 44
2 jumps found. (Code = 77) Position 1 = 46, Position 2 = 63
Branch analysis from position: 46
2 jumps found. (Code = 78) Position 1 = 47, Position 2 = 63
Branch analysis from position: 47
2 jumps found. (Code = 46) Position 1 = 50, Position 2 = 52
Branch analysis from position: 50
2 jumps found. (Code = 46) Position 1 = 53, Position 2 = 55
Branch analysis from position: 53
2 jumps found. (Code = 46) Position 1 = 56, Position 2 = 58
Branch analysis from position: 56
2 jumps found. (Code = 43) Position 1 = 59, Position 2 = 62
Branch analysis from position: 59
1 jumps found. (Code = 42) Position 1 = 46
Branch analysis from position: 46
Branch analysis from position: 62
Branch analysis from position: 58
Branch analysis from position: 55
Branch analysis from position: 52
Branch analysis from position: 63
2 jumps found. (Code = 43) Position 1 = 78, Position 2 = 86
Branch analysis from position: 78
2 jumps found. (Code = 43) Position 1 = 79, Position 2 = 84
Branch analysis from position: 79
1 jumps found. (Code = 42) Position 1 = 85
Branch analysis from position: 85
1 jumps found. (Code = 42) Position 1 = 87
Branch analysis from position: 87
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 84
1 jumps found. (Code = 42) Position 1 = 87
Branch analysis from position: 87
Branch analysis from position: 86
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 63
Branch analysis from position: 42
2 jumps found. (Code = 77) Position 1 = 46, Position 2 = 63
Branch analysis from position: 46
Branch analysis from position: 63
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 42
Branch analysis from position: 37
Branch analysis from position: 42
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 27
Branch analysis from position: 23
Branch analysis from position: 27
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 18
Branch analysis from position: 14
Branch analysis from position: 18
filename:       /in/5GG4D
function name:  (null)
number of ops:  88
compiled vars:  !0 = $address, !1 = $subj, !2 = $returnto, !3 = $email, !4 = $message, !5 = $val, !6 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'mbcortoglu%40yandex.com'
    5     1        ASSIGN                                                   !1, 'FormMailden+Mail+Geldi'
   11     2        FETCH_R                      global              ~9      '_POST'
          3        FETCH_DIM_R                                      ~10     ~9, 'sendto'
          4      > JMPZ                                                     ~10, ->9
          5    >   FETCH_R                      global              ~11     '_POST'
          6        FETCH_DIM_R                                      ~12     ~11, 'sendto'
          7        QM_ASSIGN                                        ~13     ~12
          8      > JMP                                                      ->10
          9    >   QM_ASSIGN                                        ~13     !0
         10    >   ASSIGN                                                   !0, ~13
   12    11        FETCH_R                      global              ~15     '_POST'
         12        FETCH_DIM_R                                      ~16     ~15, 'subject'
         13      > JMPZ                                                     ~16, ->18
         14    >   FETCH_R                      global              ~17     '_POST'
         15        FETCH_DIM_R                                      ~18     ~17, 'subject'
         16        QM_ASSIGN                                        ~19     ~18
         17      > JMP                                                      ->19
         18    >   QM_ASSIGN                                        ~19     !1
         19    >   ASSIGN                                                   !1, ~19
   13    20        FETCH_R                      global              ~21     '_POST'
         21        FETCH_DIM_R                                      ~22     ~21, 'returnto'
         22      > JMPZ                                                     ~22, ->27
         23    >   FETCH_R                      global              ~23     '_POST'
         24        FETCH_DIM_R                                      ~24     ~23, 'returnto'
         25        QM_ASSIGN                                        ~25     ~24
         26      > JMP                                                      ->28
         27    >   QM_ASSIGN                                        ~25     !2
         28    >   ASSIGN                                                   !2, ~25
   15    29        INIT_FCALL_BY_NAME                                       'eregi'
         30        SEND_VAL_EX                                              '%5E.%2B%40.%2B%5C.%5Ba-z%5D%7B2%2C6%7D'
         31        CHECK_FUNC_ARG                                           
         32        FETCH_FUNC_ARG               global              $27     '_POST'
         33        FETCH_DIM_FUNC_ARG                               $28     $27, 'email'
         34        SEND_FUNC_ARG                                            $28
         35        DO_FCALL                                      0  $29     
         36      > JMPZ                                                     $29, ->42
   16    37    >   FETCH_R                      global              ~30     '_POST'
         38        FETCH_DIM_R                                      ~31     ~30, 'email'
         39        ASSIGN                                                   !3, ~31
   17    40        ASSIGN                                                   !4, ''
         41      > JMP                                                      ->44
   20    42    >   ASSIGN                                                   !3, !0
   21    43        ASSIGN                                                   !4, ''
   23    44    >   FETCH_R                      global              ~36     '_POST'
         45      > FE_RESET_R                                       $37     ~36, ->63
         46    > > FE_FETCH_R                                       ~38     $37, !5, ->63
         47    >   ASSIGN                                                   !6, ~38
   24    48        IS_NOT_EQUAL                                     ~40     !6, 'returnto'
         49      > JMPZ_EX                                          ~40     ~40, ->52
         50    >   IS_NOT_EQUAL                                     ~41     !6, 'email'
         51        BOOL                                             ~40     ~41
         52    > > JMPZ_EX                                          ~40     ~40, ->55
         53    >   IS_NOT_EQUAL                                     ~42     !6, 'subject'
         54        BOOL                                             ~40     ~42
         55    > > JMPZ_EX                                          ~40     ~40, ->58
         56    >   IS_NOT_EQUAL                                     ~43     !6, 'sendto'
         57        BOOL                                             ~40     ~43
         58    > > JMPZ                                                     ~40, ->62
   25    59    >   CONCAT                                           ~44     '', !5
         60        CONCAT                                           ~45     ~44, '%0A'
         61        ASSIGN_OP                                     8          !4, ~45
   23    62    > > JMP                                                      ->46
         63    >   FE_FREE                                                  $37
   28    64        INIT_FCALL                                               'stripslashes'
         65        SEND_VAR                                                 !4
         66        DO_ICALL                                         $47     
         67        ASSIGN                                                   !4, $47
   29    68        BEGIN_SILENCE                                    ~49     
         69        INIT_FCALL                                               'mail'
         70        SEND_VAR                                                 !0
         71        SEND_VAR                                                 !1
         72        SEND_VAR                                                 !4
         73        CONCAT                                           ~50     'From%3A+', !3
         74        SEND_VAL                                                 ~50
         75        DO_ICALL                                         $51     
         76        END_SILENCE                                              ~49
         77      > JMPZ                                                     $51, ->86
   30    78    > > JMPZ                                                     !2, ->84
   31    79    >   INIT_FCALL                                               'header'
         80        CONCAT                                           ~52     'Location%3A+', !2
         81        SEND_VAL                                                 ~52
         82        DO_ICALL                                                 
         83      > JMP                                                      ->85
   34    84    >   ECHO                                                     '%3Chtml%3E%3Cbody%3E%3Ccenter%3E%3Cfont+color%3D%22green%22%3E%3Cb%3EMail+G%C3%B6nderildi%21%3C%2Fb%3E%3C%2Ffont%3E%3Cp%3E%3Ca+href%3D%22JavaScript%3Ahistory.back%28%29%22%3EGeri+D%C3%B6n%3C%2Fa%3E%3C%2Fcenter%3E%3C%2Fbody%3E%3C%2Fhtml%3E'
         85    > > JMP                                                      ->87
   38    86    >   ECHO                                                     '%3Chtml%3E%3Cbody%3E%3Ccenter%3E%3Cfont+color%3D%22red%22%3E%3Cb%3EMAili+G%C3%B6ndermekte+Bir+Sorun+Ya%C3%BEan%C3%BDyor%3C%2Fb%3E%3C%2Ffont%3E%3Cp%3E%3Ca+href%3D%22JavaScript%3Ahistory.back%28%29%22%3EGeri+D%C3%B6n%3C%2Fa%3E%3C%2Fcenter%3E%3C%2Fbody%3E%3C%2Fhtml%3E'
   41    87    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.88 ms | 1404 KiB | 19 Q