PHP by Example

PHP is a general purpose programming language primarily used for web development. It powers a large majority of the websites on the internet today.

This website aims to provide a simple introduction to the language through annotated code examples. It also assumes that you'll be using a minimum of PHP 8.1.

Table of Contents