3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("EMAIL_ADDRESS_WEBMASTER", "bestellung@reinarts.info"); define("EMAIL_ADDRESS_PRODUCER", "bestellung@reinarts.info"); define("EMAIL_SUBJECT_CUSTOMER_CONFIRMATION", "Muesli-Bestellung"); define("EMAIL_SUBJECT_PRODUCER_INFO", "Neue Bestellung"); /** * Verschickt Emails an den Kunden und den Hersteller. */ class Mailer { /** * Erzeugt und sendet die Bestaetigungsmail an den Kunden. */ function sendToCustomer($name, $email, $strasse, $plz, $stadt, $menge250g, $menge500g, $preis) { // Header erzeugen $header = Mailer::createHeader(EMAIL_ADDRESS_PRODUCER); // Maintext erzeugen $mailtext = Mailer::createMailTextForCustomer($name, $email, $strasse, $plz, $stadt, $menge250g, $menge500g, $preis); // Subject $subject = EMAIL_SUBJECT_CUSTOMER_CONFIRMATION; // Email verschicken mail($email, $subject, wordwrap($mailtext), $header); } /** * Erzeugt den Inhalt der Bestaetigungsmail an den Kunden. */ function createMailTextForCustomer($name, $email, $strasse, $plz, $stadt, $menge250g, $menge500g, $preis){ $timestamp = time(); $datum = date("d.m.Y-H:i", $timestamp); $mailtext = "<html>"; $mailtext .= "<head><title>Reinarts M&uuml;sli Bestellung</title></head>"; $mailtext .= "<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />"; $mailtext .= "<body>"; $mailtext = "<h1>Granola M&uuml;sli made by Reinart's</h1>"; $mailtext .= "<img src='http://reinarts.info/images/muesli_mailheader.png' alt='header'/>"; $mailtext .= "<p>Vielen Dank f&uuml;r Ihre Bestellung vom " . $datum . "!</p>"; $mailtext .= "<table border='0'>"; $mailtext .= "<tr>"; $mailtext .= "<td>"; $mailtext .= Mailer::createInfoTable($name, $email, $strasse, $plz, $stadt, $menge250g, $menge500g, $preis); $mailtext .= "</td>"; $mailtext .= "<td><img src='http://reinarts.info/images/muesli_mailpicture.png' alt='picture'/></td>"; $mailtext .= "</tr>"; $mailtext .= "</table>"; $mailtext .= "<p>Bitte best&auml;tigen Sie Ihre Bestellung und damit unsere <a href='http://reinarts.info/agb.html'>AGBs</a> durch klicken dieses Links.</p>"; $mailtext .= Mailer::createConfirmationLink($name, $email, $strasse, $plz, $stadt, $menge250g, $menge500g, $preis, $datum); $mailtext .= "</body>"; $mailtext .= "</html>"; return $mailtext; } /** * Erzeugt und sendet die Email vom Kunden an den Hersteller. */ function sendToProducer($name, $email, $strasse, $plz, $stadt, $menge250g, $menge500g, $preis, $datum) { // Header erzeugen $header = Mailer::createHeader($email); // Maintext erzeugen $mailtext = Mailer::createMailTextForProducer($name, $email, $strasse, $plz, $stadt, $menge250g, $menge500g, $preis, $datum); // Subject $subject = EMAIL_SUBJECT_PRODUCER_INFO; // Email verschicken mail(EMAIL_ADDRESS_PRODUCER, $subject, $mailtext, $header); } /** * Erzeugt den Inhalt der Email vom Kunden an den Hersteller. */ function createMailTextForProducer($name, $email, $strasse, $plz, $stadt, $menge250g, $menge500g, $preis, $datum){ $mailtext = "<html>"; $mailtext .= "<head><title>Reinart's M¸sli Bestellung</title></head>"; $mailtext .= "<body>"; $mailtext .= "<h1>Eingangsbest&auml;tigung (Bestellung vom " . $datum . ")</h1>"; $mailtext .= Mailer::createInfoTable($name, $email, $strasse, $plz, $stadt, $menge250g, $menge500g, $preis); $mailtext .= "</body>"; $mailtext .= "</html>"; return $mailtext; } /** * Erzeugt den MailHeader UTF-8\r\n */ function createHeader($sender){ $header = 'MIME-Version: 1.0' . "\r\n"; $header .= 'Content-type: text/html; charset=UTF-8' . "\r\n"; $header .= 'From: ' . $sender . "\r\n"; $header .= 'Reply-To: ' . $sender . "\r\n"; $header .= 'X-Mailer: PHP ' . phpversion(); return $header; } /** * Erzeugt die Info-Tabelle fuer beide Emails. */ function createInfoTable($name, $email, $strasse, $plz, $stadt, $menge250g, $menge500g, $preis){ $infoTable = "<table height='149' border='1'>"; $infoTable .= Mailer::createInfoRow("Name", $name); $infoTable .= Mailer::createInfoRow("Email", $email); $infoTable .= Mailer::createInfoRow("Strasse", $strasse); $infoTable .= Mailer::createInfoRow("Postleitzahl", $plz); $infoTable .= Mailer::createInfoRow("Stadt", $stadt); $infoTable .= Mailer::createInfoRow("Menge 250g", $menge250g); $infoTable .= Mailer::createInfoRow("Menge 500g", $menge500g); $infoTable .= Mailer::createInfoRow("Gesamtpreis", $preis); $infoTable .= "</table>"; return $infoTable; } /** * Erzeugt eine Zeile der Info-Tabelle. */ function createInfoRow($key, $value){ return "<tr><td>" . $key . ":</td><td>" . $value . "</td></tr>"; } /** * Erzeugt den a-Tag fuer die Bestaetigungsmail. */ function createConfirmationLink($name, $email, $strasse, $plz, $stadt, $menge250g, $menge500g, $preis, $datum){ $parameters = Mailer::createConfirmationLinkParam("name", $name); $parameters .= Mailer::createConfirmationLinkParam("email", $email); $parameters .= Mailer::createConfirmationLinkParam("strasse", $strasse); $parameters .= Mailer::createConfirmationLinkParam("plz", $plz); $parameters .= Mailer::createConfirmationLinkParam("stadt", $stadt); $parameters .= Mailer::createConfirmationLinkParam("menge250g", $menge250g); $parameters .= Mailer::createConfirmationLinkParam("menge500g", $menge500g); $parameters .= Mailer::createConfirmationLinkParam("preis", $preis); $parameters .= substr(Mailer::createConfirmationLinkParam("datum", $datum), 0, -1); return "<a href='http://reinarts.info/order/confirm.php?" . $parameters . "'>Bestellung best&auml;tigen</a>"; } /** * Erzeugt ein Key-Value-Paar fuer den a-Tag fuer die Bestaetigungsmail. */ function createConfirmationLinkParam($key, $value){ return $key . "=" . urlencode($value) . "&"; } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdocW
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'EMAIL_ADDRESS_WEBMASTER'
          2        SEND_VAL                                                 'bestellung%40reinarts.info'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'define'
          5        SEND_VAL                                                 'EMAIL_ADDRESS_PRODUCER'
          6        SEND_VAL                                                 'bestellung%40reinarts.info'
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'define'
          9        SEND_VAL                                                 'EMAIL_SUBJECT_CUSTOMER_CONFIRMATION'
         10        SEND_VAL                                                 'Muesli-Bestellung'
         11        DO_ICALL                                                 
    5    12        INIT_FCALL                                               'define'
         13        SEND_VAL                                                 'EMAIL_SUBJECT_PRODUCER_INFO'
         14        SEND_VAL                                                 'Neue+Bestellung'
         15        DO_ICALL                                                 
  149    16      > RETURN                                                   1

Class Mailer:
Function sendtocustomer:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdocW
function name:  sendToCustomer
number of ops:  36
compiled vars:  !0 = $name, !1 = $email, !2 = $strasse, !3 = $plz, !4 = $stadt, !5 = $menge250g, !6 = $menge500g, !7 = $preis, !8 = $header, !9 = $mailtext, !10 = $subject
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        RECV                                             !5      
          6        RECV                                             !6      
          7        RECV                                             !7      
   17     8        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createHeader'
          9        FETCH_CONSTANT                                   ~11     'EMAIL_ADDRESS_PRODUCER'
         10        SEND_VAL_EX                                              ~11
         11        DO_FCALL                                      0  $12     
         12        ASSIGN                                                   !8, $12
   19    13        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createMailTextForCustomer'
         14        SEND_VAR_EX                                              !0
         15        SEND_VAR_EX                                              !1
         16        SEND_VAR_EX                                              !2
         17        SEND_VAR_EX                                              !3
         18        SEND_VAR_EX                                              !4
         19        SEND_VAR_EX                                              !5
         20        SEND_VAR_EX                                              !6
         21        SEND_VAR_EX                                              !7
         22        DO_FCALL                                      0  $14     
         23        ASSIGN                                                   !9, $14
   21    24        FETCH_CONSTANT                                   ~16     'EMAIL_SUBJECT_CUSTOMER_CONFIRMATION'
         25        ASSIGN                                                   !10, ~16
   24    26        INIT_FCALL                                               'mail'
         27        SEND_VAR                                                 !1
         28        SEND_VAR                                                 !10
         29        INIT_FCALL                                               'wordwrap'
         30        SEND_VAR                                                 !9
         31        DO_ICALL                                         $18     
         32        SEND_VAR                                                 $18
         33        SEND_VAR                                                 !8
         34        DO_ICALL                                                 
   25    35      > RETURN                                                   null

End of function sendtocustomer

Function createmailtextforcustomer:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdocW
function name:  createMailTextForCustomer
number of ops:  60
compiled vars:  !0 = $name, !1 = $email, !2 = $strasse, !3 = $plz, !4 = $stadt, !5 = $menge250g, !6 = $menge500g, !7 = $preis, !8 = $timestamp, !9 = $datum, !10 = $mailtext
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   30     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        RECV                                             !5      
          6        RECV                                             !6      
          7        RECV                                             !7      
   31     8        INIT_FCALL                                               'time'
          9        DO_ICALL                                         $11     
         10        ASSIGN                                                   !8, $11
   32    11        INIT_FCALL                                               'date'
         12        SEND_VAL                                                 'd.m.Y-H%3Ai'
         13        SEND_VAR                                                 !8
         14        DO_ICALL                                         $13     
         15        ASSIGN                                                   !9, $13
   34    16        ASSIGN                                                   !10, '%3Chtml%3E'
   35    17        ASSIGN_OP                                     8          !10, '%3Chead%3E%3Ctitle%3EReinarts+M%26uuml%3Bsli+Bestellung%3C%2Ftitle%3E%3C%2Fhead%3E'
   36    18        ASSIGN_OP                                     8          !10, '%3Cmeta+http-equiv%3D%27Content-Type%27+content%3D%27text%2Fhtml%3B+charset%3DUTF-8%27+%2F%3E'
   37    19        ASSIGN_OP                                     8          !10, '%3Cbody%3E'
   38    20        ASSIGN                                                   !10, '%3Ch1%3EGranola+M%26uuml%3Bsli+made+by+Reinart%27s%3C%2Fh1%3E'
   39    21        ASSIGN_OP                                     8          !10, '%3Cimg+src%3D%27http%3A%2F%2Freinarts.info%2Fimages%2Fmuesli_mailheader.png%27+alt%3D%27header%27%2F%3E'
   40    22        CONCAT                                           ~21     '%3Cp%3EVielen+Dank+f%26uuml%3Br+Ihre+Bestellung+vom+', !9
         23        CONCAT                                           ~22     ~21, '%21%3C%2Fp%3E'
         24        ASSIGN_OP                                     8          !10, ~22
   41    25        ASSIGN_OP                                     8          !10, '%3Ctable+border%3D%270%27%3E'
   42    26        ASSIGN_OP                                     8          !10, '%3Ctr%3E'
   43    27        ASSIGN_OP                                     8          !10, '%3Ctd%3E'
   44    28        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createInfoTable'
         29        SEND_VAR_EX                                              !0
         30        SEND_VAR_EX                                              !1
         31        SEND_VAR_EX                                              !2
         32        SEND_VAR_EX                                              !3
         33        SEND_VAR_EX                                              !4
         34        SEND_VAR_EX                                              !5
         35        SEND_VAR_EX                                              !6
         36        SEND_VAR_EX                                              !7
         37        DO_FCALL                                      0  $27     
         38        ASSIGN_OP                                     8          !10, $27
   45    39        ASSIGN_OP                                     8          !10, '%3C%2Ftd%3E'
   46    40        ASSIGN_OP                                     8          !10, '%3Ctd%3E%3Cimg+src%3D%27http%3A%2F%2Freinarts.info%2Fimages%2Fmuesli_mailpicture.png%27+alt%3D%27picture%27%2F%3E%3C%2Ftd%3E'
   47    41        ASSIGN_OP                                     8          !10, '%3C%2Ftr%3E'
   48    42        ASSIGN_OP                                     8          !10, '%3C%2Ftable%3E'
   49    43        ASSIGN_OP                                     8          !10, '%3Cp%3EBitte+best%26auml%3Btigen+Sie+Ihre+Bestellung+und+damit+unsere+%3Ca+href%3D%27http%3A%2F%2Freinarts.info%2Fagb.html%27%3EAGBs%3C%2Fa%3E+durch+klicken+dieses+Links.%3C%2Fp%3E'
   50    44        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createConfirmationLink'
         45        SEND_VAR_EX                                              !0
         46        SEND_VAR_EX                                              !1
         47        SEND_VAR_EX                                              !2
         48        SEND_VAR_EX                                              !3
         49        SEND_VAR_EX                                              !4
         50        SEND_VAR_EX                                              !5
         51        SEND_VAR_EX                                              !6
         52        SEND_VAR_EX                                              !7
         53        SEND_VAR_EX                                              !9
         54        DO_FCALL                                      0  $34     
         55        ASSIGN_OP                                     8          !10, $34
   51    56        ASSIGN_OP                                     8          !10, '%3C%2Fbody%3E'
   52    57        ASSIGN_OP                                     8          !10, '%3C%2Fhtml%3E'
   54    58      > RETURN                                                   !10
   55    59*     > RETURN                                                   null

End of function createmailtextforcustomer

Function sendtoproducer:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdocW
function name:  sendToProducer
number of ops:  35
compiled vars:  !0 = $name, !1 = $email, !2 = $strasse, !3 = $plz, !4 = $stadt, !5 = $menge250g, !6 = $menge500g, !7 = $preis, !8 = $datum, !9 = $header, !10 = $mailtext, !11 = $subject
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   60     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        RECV                                             !5      
          6        RECV                                             !6      
          7        RECV                                             !7      
          8        RECV                                             !8      
   62     9        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createHeader'
         10        SEND_VAR_EX                                              !1
         11        DO_FCALL                                      0  $12     
         12        ASSIGN                                                   !9, $12
   64    13        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createMailTextForProducer'
         14        SEND_VAR_EX                                              !0
         15        SEND_VAR_EX                                              !1
         16        SEND_VAR_EX                                              !2
         17        SEND_VAR_EX                                              !3
         18        SEND_VAR_EX                                              !4
         19        SEND_VAR_EX                                              !5
         20        SEND_VAR_EX                                              !6
         21        SEND_VAR_EX                                              !7
         22        SEND_VAR_EX                                              !8
         23        DO_FCALL                                      0  $14     
         24        ASSIGN                                                   !10, $14
   66    25        FETCH_CONSTANT                                   ~16     'EMAIL_SUBJECT_PRODUCER_INFO'
         26        ASSIGN                                                   !11, ~16
   69    27        INIT_FCALL                                               'mail'
         28        FETCH_CONSTANT                                   ~18     'EMAIL_ADDRESS_PRODUCER'
         29        SEND_VAL                                                 ~18
         30        SEND_VAR                                                 !11
         31        SEND_VAR                                                 !10
         32        SEND_VAR                                                 !9
         33        DO_ICALL                                                 
   70    34      > RETURN                                                   null

End of function sendtoproducer

Function createmailtextforproducer:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdocW
function name:  createMailTextForProducer
number of ops:  30
compiled vars:  !0 = $name, !1 = $email, !2 = $strasse, !3 = $plz, !4 = $stadt, !5 = $menge250g, !6 = $menge500g, !7 = $preis, !8 = $datum, !9 = $mailtext
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   75     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        RECV                                             !5      
          6        RECV                                             !6      
          7        RECV                                             !7      
          8        RECV                                             !8      
   76     9        ASSIGN                                                   !9, '%3Chtml%3E'
   77    10        ASSIGN_OP                                     8          !9, '%3Chead%3E%3Ctitle%3EReinart%27s+M%C2%B8sli+Bestellung%3C%2Ftitle%3E%3C%2Fhead%3E'
   78    11        ASSIGN_OP                                     8          !9, '%3Cbody%3E'
   79    12        CONCAT                                           ~13     '%3Ch1%3EEingangsbest%26auml%3Btigung+%28Bestellung+vom+', !8
         13        CONCAT                                           ~14     ~13, '%29%3C%2Fh1%3E'
         14        ASSIGN_OP                                     8          !9, ~14
   80    15        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createInfoTable'
         16        SEND_VAR_EX                                              !0
         17        SEND_VAR_EX                                              !1
         18        SEND_VAR_EX                                              !2
         19        SEND_VAR_EX                                              !3
         20        SEND_VAR_EX                                              !4
         21        SEND_VAR_EX                                              !5
         22        SEND_VAR_EX                                              !6
         23        SEND_VAR_EX                                              !7
         24        DO_FCALL                                      0  $16     
         25        ASSIGN_OP                                     8          !9, $16
   81    26        ASSIGN_OP                                     8          !9, '%3C%2Fbody%3E'
   82    27        ASSIGN_OP                                     8          !9, '%3C%2Fhtml%3E'
   84    28      > RETURN                                                   !9
   85    29*     > RETURN                                                   null

End of function createmailtextforproducer

Function createheader:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdocW
function name:  createHeader
number of ops:  15
compiled vars:  !0 = $sender, !1 = $header
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   90     0  E >   RECV                                             !0      
   91     1        ASSIGN                                                   !1, 'MIME-Version%3A+1.0%0D%0A'
   92     2        ASSIGN_OP                                     8          !1, 'Content-type%3A+text%2Fhtml%3B+charset%3DUTF-8%0D%0A'
   93     3        CONCAT                                           ~4      'From%3A+', !0
          4        CONCAT                                           ~5      ~4, '%0D%0A'
          5        ASSIGN_OP                                     8          !1, ~5
   94     6        CONCAT                                           ~7      'Reply-To%3A+', !0
          7        CONCAT                                           ~8      ~7, '%0D%0A'
          8        ASSIGN_OP                                     8          !1, ~8
   95     9        INIT_FCALL                                               'phpversion'
         10        DO_ICALL                                         $10     
         11        CONCAT                                           ~11     'X-Mailer%3A+PHP+', $10
         12        ASSIGN_OP                                     8          !1, ~11
   97    13      > RETURN                                                   !1
   98    14*     > RETURN                                                   null

End of function createheader

Function createinfotable:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdocW
function name:  createInfoTable
number of ops:  52
compiled vars:  !0 = $name, !1 = $email, !2 = $strasse, !3 = $plz, !4 = $stadt, !5 = $menge250g, !6 = $menge500g, !7 = $preis, !8 = $infoTable
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  103     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        RECV                                             !5      
          6        RECV                                             !6      
          7        RECV                                             !7      
  104     8        ASSIGN                                                   !8, '%3Ctable+height%3D%27149%27+border%3D%271%27%3E'
  105     9        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createInfoRow'
         10        SEND_VAL_EX                                              'Name'
         11        SEND_VAR_EX                                              !0
         12        DO_FCALL                                      0  $10     
         13        ASSIGN_OP                                     8          !8, $10
  106    14        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createInfoRow'
         15        SEND_VAL_EX                                              'Email'
         16        SEND_VAR_EX                                              !1
         17        DO_FCALL                                      0  $12     
         18        ASSIGN_OP                                     8          !8, $12
  107    19        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createInfoRow'
         20        SEND_VAL_EX                                              'Strasse'
         21        SEND_VAR_EX                                              !2
         22        DO_FCALL                                      0  $14     
         23        ASSIGN_OP                                     8          !8, $14
  108    24        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createInfoRow'
         25        SEND_VAL_EX                                              'Postleitzahl'
         26        SEND_VAR_EX                                              !3
         27        DO_FCALL                                      0  $16     
         28        ASSIGN_OP                                     8          !8, $16
  109    29        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createInfoRow'
         30        SEND_VAL_EX                                              'Stadt'
         31        SEND_VAR_EX                                              !4
         32        DO_FCALL                                      0  $18     
         33        ASSIGN_OP                                     8          !8, $18
  110    34        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createInfoRow'
         35        SEND_VAL_EX                                              'Menge+250g'
         36        SEND_VAR_EX                                              !5
         37        DO_FCALL                                      0  $20     
         38        ASSIGN_OP                                     8          !8, $20
  111    39        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createInfoRow'
         40        SEND_VAL_EX                                              'Menge+500g'
         41        SEND_VAR_EX                                              !6
         42        DO_FCALL                                      0  $22     
         43        ASSIGN_OP                                     8          !8, $22
  112    44        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createInfoRow'
         45        SEND_VAL_EX                                              'Gesamtpreis'
         46        SEND_VAR_EX                                              !7
         47        DO_FCALL                                      0  $24     
         48        ASSIGN_OP                                     8          !8, $24
  113    49        ASSIGN_OP                                     8          !8, '%3C%2Ftable%3E'
  115    50      > RETURN                                                   !8
  116    51*     > RETURN                                                   null

End of function createinfotable

Function createinforow:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdocW
function name:  createInfoRow
number of ops:  8
compiled vars:  !0 = $key, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  121     0  E >   RECV                                             !0      
          1        RECV                                             !1      
  122     2        CONCAT                                           ~2      '%3Ctr%3E%3Ctd%3E', !0
          3        CONCAT                                           ~3      ~2, '%3A%3C%2Ftd%3E%3Ctd%3E'
          4        CONCAT                                           ~4      ~3, !1
          5        CONCAT                                           ~5      ~4, '%3C%2Ftd%3E%3C%2Ftr%3E'
          6      > RETURN                                                   ~5
  123     7*     > RETURN                                                   null

End of function createinforow

Function createconfirmationlink:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdocW
function name:  createConfirmationLink
number of ops:  63
compiled vars:  !0 = $name, !1 = $email, !2 = $strasse, !3 = $plz, !4 = $stadt, !5 = $menge250g, !6 = $menge500g, !7 = $preis, !8 = $datum, !9 = $parameters
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  128     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        RECV                                             !5      
          6        RECV                                             !6      
          7        RECV                                             !7      
          8        RECV                                             !8      
  129     9        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createConfirmationLinkParam'
         10        SEND_VAL_EX                                              'name'
         11        SEND_VAR_EX                                              !0
         12        DO_FCALL                                      0  $10     
         13        ASSIGN                                                   !9, $10
  130    14        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createConfirmationLinkParam'
         15        SEND_VAL_EX                                              'email'
         16        SEND_VAR_EX                                              !1
         17        DO_FCALL                                      0  $12     
         18        ASSIGN_OP                                     8          !9, $12
  131    19        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createConfirmationLinkParam'
         20        SEND_VAL_EX                                              'strasse'
         21        SEND_VAR_EX                                              !2
         22        DO_FCALL                                      0  $14     
         23        ASSIGN_OP                                     8          !9, $14
  132    24        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createConfirmationLinkParam'
         25        SEND_VAL_EX                                              'plz'
         26        SEND_VAR_EX                                              !3
         27        DO_FCALL                                      0  $16     
         28        ASSIGN_OP                                     8          !9, $16
  133    29        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createConfirmationLinkParam'
         30        SEND_VAL_EX                                              'stadt'
         31        SEND_VAR_EX                                              !4
         32        DO_FCALL                                      0  $18     
         33        ASSIGN_OP                                     8          !9, $18
  134    34        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createConfirmationLinkParam'
         35        SEND_VAL_EX                                              'menge250g'
         36        SEND_VAR_EX                                              !5
         37        DO_FCALL                                      0  $20     
         38        ASSIGN_OP                                     8          !9, $20
  135    39        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createConfirmationLinkParam'
         40        SEND_VAL_EX                                              'menge500g'
         41        SEND_VAR_EX                                              !6
         42        DO_FCALL                                      0  $22     
         43        ASSIGN_OP                                     8          !9, $22
  136    44        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createConfirmationLinkParam'
         45        SEND_VAL_EX                                              'preis'
         46        SEND_VAR_EX                                              !7
         47        DO_FCALL                                      0  $24     
         48        ASSIGN_OP                                     8          !9, $24
  137    49        INIT_FCALL                                               'substr'
         50        INIT_STATIC_METHOD_CALL                                  'Mailer', 'createConfirmationLinkParam'
         51        SEND_VAL_EX                                              'datum'
         52        SEND_VAR_EX                                              !8
         53        DO_FCALL                                      0  $26     
         54        SEND_VAR                                                 $26
         55        SEND_VAL                                                 0
         56        SEND_VAL                                                 -1
         57        DO_ICALL                                         $27     
         58        ASSIGN_OP                                     8          !9, $27
  139    59        CONCAT                                           ~29     '%3Ca+href%3D%27http%3A%2F%2Freinarts.info%2Forder%2Fconfirm.php%3F', !9
         60        CONCAT                                           ~30     ~29, '%27%3EBestellung+best%26auml%3Btigen%3C%2Fa%3E'
         61      > RETURN                                                   ~30
  140    62*     > RETURN                                                   null

End of function createconfirmationlink

Function createconfirmationlinkparam:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdocW
function name:  createConfirmationLinkParam
number of ops:  10
compiled vars:  !0 = $key, !1 = $value
line      #* E I O op                           fetch      

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.76 ms | 1428 KiB | 27 Q