PHP
From WikiTech, the free technology encyclopedia
Server-side scripting language for the web (1995)
3 sources from The PHP Group and InfoWorld. Checked by ByteExplained editors on 3 December 2026. How we check facts
PHP is a widely used open-source, general-purpose scripting language that is especially suited to web development and can be embedded in HTML.[2] Its name is now a recursive acronym for "PHP: Hypertext Preprocessor".[1]
History
PHP began in 1994, when Rasmus Lerdorf wrote a set of small programs in the C (programming language) to track visits to his online CV. He called them "Personal Home Page Tools" and released the source code publicly in June 1995.[1] Rewrites followed, including the 1996 PHP/FI release, which added support for databases, cookies and user-defined functions.[1]
In 1997 Andi Gutmans and Zeev Suraski of Tel Aviv began rewriting the language's parser and worked with Lerdorf on a new version. PHP 3, announced in June 1998, added support for object-oriented programming and was installed on more than 70,000 domains at launch.[1] PHP 4, released in May 2000, was built on the new Zend Engine, named after Zeev and Andi, and PHP 5 followed in July 2004 with a new object model.[1] PHP 7.0 (2015) brought large speed improvements.[1] PHP 8.0, released on 26 November 2020, added features such as union types, named arguments, attributes and just-in-time (JIT) compilation.[3]
How it works
A PHP page is mostly ordinary HTML with blocks of code placed between <?php and ?> tags. Unlike client-side JavaScript, the code runs on the server: the server executes the script and sends only the resulting HTML to the visitor, who never sees the underlying code.[2] This makes PHP well suited to building pages that change depending on stored data or user input, and it has long been described as a popular language for server-side web programming.[3]
See also
References
- ^ History of PHP. The PHP Group. php.net
- ^ Introduction (PHP Manual). The PHP Group. php.net
- ^ PHP 8.0 arrives with union types, JIT compilation. InfoWorld. 2020-11-26. infoworld.com





