PHP Hosting Demo Server diagnostics

PHP execution confirmed

PHP is working!

The server executed this PHP file and generated the page below. Refresh to see a new server timestamp.

Refresh server time

Runtime checks

PHP execution

Passed

The server evaluated the PHP code and returned HTML.

Page generated at

Wednesday, 11 November 2026

JSON encoding and decoding

Passed

PHP encoded a sample array as JSON and decoded it back.

How to try it

  1. On a web host: Upload index.php to your site's web root and visit the site in a browser.
  2. On your computer: If PHP is installed, run php -S localhost:8000 from the folder containing this file and visit http://localhost:8000.
  3. Verify the response: Check the runtime results and refresh the page to see the UTC timestamp update.