Hello, World!

This page was generated at: 2026-02-04 02:59:24

Your timezone: UTC

Dynamic Content

Welcome to PHP!

Good morning! Today is Wednesday.

How This Works

Look at the source code of this file (templating.php):

View Page Source

Right-click and "View Page Source" in your browser. You'll see:

Key Insight

PHP runs per-request. Each time you refresh this page:

  1. Server receives new HTTP request
  2. PHP interpreter starts fresh
  3. Script executes from the beginning
  4. Output is sent as HTTP response
  5. PHP process ends - all variables are lost

There's no persistent state between requests (that's why we need sessions!).


Simple Hello | Back to Tutorial | Next: Form Handling