What Is PHP

This section describes what is PHP language and what are main features supported in PHP.

What Is PHP? PHP stands for PHP: Hypertext Preprocessor, a recursive acronym. It is mainly a Web server side scripting language. But it can also be used for other purposes.

PHP was originally created by Rasmus Lerdorf in 1995 as a simple Web page generation tool named as PHP/FI (Personal Home Page/Forms Interpreter). Today it becomes the number one of server side scripting languages. Here are top 10 scripting languages used by Websites compiled by w3techs.com in 2024:

Language     Percentage
----------   ----------
PHP               76.1%
ASP.NET            5.9%
Ruby               5.9%
Java               4.9%
JavaScript         3.5%
Scala              3.2%
Python             1.3%
ColdFusion         0.2%
Perl               0.1%
Erlang             0.1%

Main features of PHP:

PHP major releases:

8.0   26 November 2020
7.0   3 December 2015
6.x   Not released
5.6   28 August 2014
5.4   1 March 2012
5.3   30 June 2009
5.0   13 July 2004
4.0   22 May 2000
3.0   6 June 1998
2.0   1 November 1997
1.0   8 June 1995

Table of Contents

 About This Book

Introduction and Installation of PHP

What Is PHP

 Downloading and Installing PHP 7.3 for Windows

 "php -help" - Command Line Options

 "php -m" - Built-in Modules

 "php -i" - PHP Engine Information

 php.ini - PHP Runtime Configuration

 Hello.php - My First PHP Script

 "php -a" - PHP Interactive Shell

 Downloading and Installing PHP Documentation

 Managing PHP Engine and Modules on macOS

 Managing PHP Engine and Modules on CentOS

 MySQLi Module - Accessing MySQL Server

 DOM Module - Parsing HTML Documents

 GD Module - Manipulating Images and Pictures

 Zip Module - Managing ZIP Archive Files

 SOAP Module - Creating and Calling Web Services

 SOAP Module - Server Functions and Examples

 References

 Full Version in PDF/EPUB