PHP tutorial

last modified July 6, 2020

This is PHP tutorial. This tutorial covers the core of the PHP programming language. It uses PHP CLI. The PHP tutorial is suitable for beginners. New language features of PHP 7 are covered in New language features in PHP 7 article.

Table of contents


PHP is a scripting language designed for web development. It is used to produce dynamic web pages. Currently, PHP is one of the most widely used programming languages. Much of its syntax is borrowed from C, Java, and Perl with a couple of unique PHP-specific features. PHP can be embedded into HTML code and it generally runs on a web server.

Related tutorials

You might be also interested in the following tutorials: PHP filesystem functions, MongoDB PHP tutorial, PHP SQLite3 tutorial, PHP mysqli tutorial, or PostgreSQL PHP tutorial.

List all PHP tutorials.