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. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="utf-8">
  5.         <title></title>
  6.         
  7.     </head>
  8.     
  9.     <body>
  10.         
  11.         <?php 
  12.         
  13.         echo "There once was a man names John <br>";
  14.         echo "He was 35 years old <br>";
  15.         echo "He really liked the name John <br>";
  16.         echo "But didn't like being 35 <br>";
  17.         
  18.         ?>
  19.         
  20.     </body>
  21.     
  22. </html>
File Description
  • test
  • PHP Code
  • 25 Aug-2022
  • 403 Bytes
You can Share it: