Test - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of Test.php

  1. <?php
  2. echo "<!doctype html>";
  3. echo "<html lang =\"de\">";
  4. echo    "<heads>";
  5. echo      "<title>Übung mit PHP</title>";
  6. echo        "<Meta charset=\"utf-8\">";
  7. echo    "</heads>";
  8. echo    "<body>";
  9. echo "<strong>Hallo Welt</strong>";
  10. echo "1+1=";
  11. echo 1+1;
  12. echo "</body>";
  13. echo "</html>";
  14. ?>
File Description
  • Test
  • PHP Code
  • 21 Sep-2021
  • 291 Bytes
You can Share it: