fork download
  1. <?php
  2. $txt1 = "Learn PHP";
  3. $txt2 = "W3Schools.com";
  4. $x = 5;
  5. $y = 4;
  6.  
  7. echo "<h2>$txt1</h2>";
  8. echo "Study PHP at $txt2<br>";
  9. echo $x + $y;
  10. ?>
  11. // your code goes here
Success #stdin #stdout 0.02s 52472KB
stdin
Standard input is empty
stdout
<h2>Learn PHP</h2>Study PHP at W3Schools.com<br>9// your code goes here