PHPDownload · PHP practice files

This collection contains the 59 PHP files in the beginner course. Each example runs independently. Open the matching article to read its explanation and variations.

Extract the archive into a local folder, open a terminal there, and run one file at a time. For example, run php scripts/01-read-a-first-php-expression.php. Look up the exact filenames and article paths in index.csv. Expected console output is in output/.

The examples were executed with PHP 8.4.24 CLI. For the database and XML lessons, enable pdo_sqlite, SimpleXML and DOM. The Unicode exercise also uses mbstring. Files containing example records are local learning material. Use the article path on the host where you installed PHPDownload.
