โ† PHP learning path
PHP ยท Module 1 of 10

Introduction to PHP

PHP is a server-side language that powers much of the web.

๐Ÿ“– Key ideas

  1. PHP runs on the server and outputs HTML.
  2. Powers WordPress, Laravel apps and many websites.
  3. Code goes inside <?php ... ?> tags.
  4. Run locally with XAMPP/WAMP or php -S localhost:8000.
  5. Current versions: PHP 8.x with big performance gains.
๐Ÿ’ก Real-life example: PHP is a kitchen behind the restaurant: it cooks the page on the server before sending it to your table.
Server-sideRuns on the web server
<?php ?>PHP code tags
XAMPPLocal Apache + MySQL + PHP bundle
echoOutputs text