editors.dev

PHP

PHP: Hypertext Preprocessor

PHP is an interpreted scripting language designed for the web, usually run on the server to generate HTML pages and handle requests. It powers content management systems, web applications and APIs.

Actively developed First released 1995

Editors for PHP

30 editors and IDEs support PHP. Built in first, then official and community extensions. Each row opens the editor at its PHP notes.

Filter the editor list

Built in 21

Today

A new minor version ships every November, with two years of active support and two more of security fixes. Supported branches as of 2026-11-20: 8.6 (released 2026-11-19, active until 2028-12-31, security until 2030-12-31), 8.5 (active until 2027-12-31, security until 2029-12-31), 8.4 (active until 2026-12-31, security until 2028-12-31), 8.3 (security only, until 2027-12-31) and 8.2 (security only, until 2026-12-31); 8.1 and older are end of life. PHP 8.6 is also the first release under the BSD-style PHP License 4, and no PHP 9.0 date has been set. In the TIOBE index for November 2026 PHP ranks 12th.

What it is used for

Server-side web development, from small sites to large platforms. WordPress, Drupal, MediaWiki (Wikipedia), Magento and the Laravel and Symfony frameworks are written in PHP.

History

Rasmus Lerdorf wrote a set of CGI programs in C in 1994 to track visits to his online résumé, and published them as Personal Home Page Tools on 8 June 1995. PHP/FI 2.0 followed in 1997.

Andi Gutmans and Zeev Suraski rewrote the parser for PHP 3.0 in 1998, and the name became the recursive acronym "PHP: Hypertext Preprocessor". PHP 4 in 2000 ran on their new Zend Engine, and PHP 5 in 2004 brought a new object model. A planned PHP 6 with native Unicode strings was abandoned, and many of its other features landed in PHP 5.3.

PHP 7.0 in 2015 roughly doubled performance and introduced scalar type declarations. PHP 8.0 in 2020 added a JIT compiler, union types, named arguments and attributes. The PHP Foundation was set up in 2021 to fund core development, and since then a new minor version has appeared every November. PHP 8.6 in November 2026 added partial function application and moved the project to the BSD-style PHP License 4.

Milestone versions

  1. 8 June 1995 1.0 Personal Home Page Tools, the first public release.
  2. 6 June 1998 3.0 Rewritten parser, extension API and the name "PHP: Hypertext Preprocessor".
  3. 22 May 2000 4.0 First release on the Zend Engine, with built-in sessions.
  4. 13 July 2004 5.0 New object model on Zend Engine 2, plus PDO and SimpleXML.
  5. 30 June 2009 5.3 Added namespaces, closures and late static binding.
  6. 3 December 2015 7.0 Much faster engine (phpng), scalar and return type declarations.
  7. 26 November 2020 8.0 JIT compiler, union types, named arguments, attributes and match expressions.
  8. 20 November 2025 8.5 Added the pipe operator and a built-in URI extension.
  9. 19 November 2026 8.6.0 Partial function application, readonly property defaults, the Io\Poll API and clamp(); first release under PHP License 4.