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