fork(1) download
  1. <?php
  2.  
  3.  
  4. $email = "foo@bar.com";
  5. $whatsapp = "";
  6.  
  7. $html = "<h1>Aqui começa seu HTML</h1>";
  8.  
  9. if ($email != "") {
  10. $html .= "<strong>E-mail: {$email}</strong>";
  11. }
  12.  
  13. if ($whatsapp != "") {
  14. $html .= "<strong>WhatsApp: {$whatsapp}</strong>";
  15. }
  16.  
  17. echo $html;
Success #stdin #stdout 0s 82880KB
stdin
Standard input is empty
stdout
<h1>Aqui começa seu HTML</h1><strong>E-mail: foo@bar.com</strong>