This document provides an overview of PHP basics including PHP syntax, variables, loops, functions and more. It discusses the different ways to write PHP code such as <?php ?> tags. It also covers PHP variables and data types as well as loops like while, for each and foreach. Functions are defined as reusable blocks of code that can take arguments and return values. Examples are given for each concept to demonstrate how it works in PHP.