PHP Tutorial

Define PHP

PHP Installation

PHP INI File

PHP Case Sensitivity

PHP Variable

PHP Echo & Print

PHP Operators

PHP Receiving Input

PHP Decision Making

PHP Loops

PHP Jumping Statement

PHP Image Gallery

PHP File Upload

PHP Arrays

PHP String Functions

PHP Math Functions

PHP Functions

PHP Variable Scope

PHP Constant Variable

PHP Superglobals

PHP Form Validation

PHP Include Statement

PHP Filter

PHP File Handling

PHP Date Functions

PHP Cookies

PHP Session

PHP Send Emails

PHP-MySQL Connectivity

PHP Captcha

PHP MySQL Select

PHP MySQL Insert

PHP MySQL Delete

PHP MySQL Update

PHP MySQL Injection

PHP Tutorial

PHP is the most popular scripting language on the web. With PHP, you can do things like create login page, check form details, create forums, picture galleries, surveys, etc.

PHP Tutorial

PHP Versions

VersionRelease dateSupported untilDescription
1.08 June 1995Officially called "Personal Home Page". This is the first version of "PHP".
2.01 November 1997Officially called "PHP/FI 2.0".
3.06 June 199820 October 2000Development moves from one person to multiple developers.
4.022 May 200023 June 2001Added more advanced two-stage parse/execute tag-parsing system called the Zend engine.
4.110 December 200112 March 2002Introduced "superglobals" Variables ($_GET, $_POST, $_SESSION, etc.)
4.222 April 20026 September 2002Disabled register_globals. Data received over the network is not directly inserted into the global namespace, closing possible security holes in applications.
4.327 December 200231 March 2005Introduced the command-line interface (CLI), to supplement the CGI.
4.411 July 20057 August 2008Fixed a memory corruption bug
5.013 July 20045 September 2005Zend Engine II with a new object model.
5.124 November 200524 August 2006Performance improvements with introduction of compiler variables. Added PHP Data Objects (PDO) as a consistent interface for accessing databases.
5.22 November 20066 January 2011Enabled filter extension. JSON Support.
5.330 June 200914 August 2014Namespace support, late static bindings, jumping statement (goto), garbage collection, improved Windows support, sqlite3, mysqlnd as a replacement for libmysql as underlying library for the extensions that work with MySQL.
5.41 March 20123 September 2015Trait support, short array syntax support. Removed items: register_globals, safe_mode, allow_call_time_pass_reference, session_register(), session_unregister() and session_is_registered(). Several improvements to existing features, performance and reduced memory requirements.
5.520 June 201310 July 2016Support for generators, finally blocks for exceptions handling.
5.628 August 201431 December 2018Constant scalar expressions, argument unpacking, new exponentiation operator, extensions of the use statement for functions and constants, and other smaller improvements.
6.xNot releasedAbandoned version of PHP that planned to include native Unicode support.
7.03 December 20153 December 201864-bit integer support on Windows, uniform variable syntax, return type declarations, scalar type (integer, float, string and boolean) declarations, <=> 'spaceship' three-way comparison operator and shorthand syntax for importing multiple items from a namespace.
7.11 December 20161 December 2019void return type, class constant visibility modifiers.
7.230 November 201730 November 2020Counting of non-countable objects.
7.36 December 20186 December 2021support for reference assignment and array deconstruction with list()
Updated: 22-Dec-19