fg.php - 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 fg.php.php

  1. <?php
  2.  
  3. function htmlHead(){
  4. echo<<<EOT  
  5. <!doctype html>
  6. <html>
  7. <head>
  8.     <meta charset="UTF-8">
  9.     <title>Azonosítás</title>
  10. </head>
  11. <body>
  12. EOT; 
  13.  
  14. }
  15. function htmlFoot(){
  16.     echo<<<EOT 
  17. </body>
  18. </html>
  19. EOT;
  20.  
  21. }
  22.  
  23.  
File Description
  • fg.php
  • PHP Code
  • 07 Apr-2020
  • 216 Bytes
You can Share it: