PHP is a way to make websites.
PHP is a way to make websites.
PHP is a tool used to make websites.
PHP works on a web server. A server is a special computer that holds website data. When you visit a site, the server reads the PHP code. It then sends back things like text or images.
Over time, PHP has changed a lot. In 1998, Zeev Suraski and Andi Gutmans rewrote parts of it. They made the Zend Engine to help it run.
New versions make PHP faster and stronger. PHP 7 was built to be very quick. PHP 8 added a JIT compiler. A JIT compiler is a tool that helps code run even faster. Today, many people use PHP to build big web tools. It is free for anyone to use.
PHP is a special tool used to build websites. It is a scripting language, which is a set of instructions for computers. Most people use it for web development.
When you visit a website, PHP works behind the scenes on a web server. A server is a computer that holds website data.
A programmer named Rasmus Lerdorf started this journey in 1993. He originally wrote small programs in a language called C. He used them to manage his own personal homepage.
Many people helped PHP grow into what it is today. In 1997, Zeev Suraski and Andi Gutmans rewrote the code. They created the base for PHP 3 and changed its name. This new name, PHP: Hypertext Preprocessor, is a recursive acronym. They also built the Zend Engine in 1999. This engine acts like a motor for the code. 
New versions of PHP make the language faster and smarter. PHP 7 was a huge step for speed. It used a new engine called Zend Engine 3. In 2020, PHP 8 was released with a JIT compiler. A JIT compiler helps the computer run math tasks even faster. PHP also added new ways to organize data. It can now use things called union types and attributes. These tools help developers write better and more organized code.
PHP is a general-purpose scripting language designed primarily for web development. A scripting language is a set of instructions that a computer follows to perform specific tasks. While PHP is mostly used to build websites, it can also be used for programming tasks outside of the web context.
When a user requests a webpage, PHP works on a web server through a process called interpretation. The PHP code is processed by a PHP interpreter. This interpreter can function as a module, a daemon, or a Common Gateway Interface (CGI) executable.
The history of PHP began in 1993 with a programmer named Rasmus Lerdorf. He originally wrote several CGI programs using the C language to maintain his own personal homepage. He later extended these programs to work with HTML forms and communicate with databases. He called this early version PHP/FI, which stood for Personal Home Page/Forms Interpreter.
A major turning point occurred in 1997 when Zeev Suraski and Andi Gutmans rewrote the parser. This work formed the foundation for PHP 3, which was officially launched in June 1998. At this time, the name was changed to a recursive backronym: PHP: Hypertext Preprocessor. Suraski and Gutmans also created the Zend Engine in 1999 and founded Zend Technologies in Israel. 
In 2004, PHP 5.0 was released with the new Zend Engine 2.0. This version brought significant changes, such as an overhauled approach to object-oriented programming. It also introduced iterators and exceptions. Later, the PHP 5.x series became the primary stable version. In 2008, a group of developers started the GoPHP5 initiative to help people move from PHP 4 to PHP 5. Developers also worked on a project to add Unicode support to the language. This project, intended for PHP 6, was eventually abandoned due to performance issues and a shortage of developers. Instead, the features were integrated into later PHP 5 releases, such as PHP 5.3 and 5.4.
PHP 7.0 was developed during 2014 and 2015 to greatly improve performance. This version was based on a project called "phpng," or PHP next generation. It was written by Dmitry Stogov, Xinchen Hui, and Nikita Popov. By July 2014, benchmarks showed that this new approach increased performance by almost 100% in WordPress environments. This version used Zend Engine 3 and introduced a more consistent type system. It allowed for scalar types like integers and strings to be used in function declarations. It also added new operators, such as the "spaceship" three-way comparison operator.
The release of PHP 8.0 on November 26, 2020, introduced even more advanced features. One major addition was a JIT compiler, or just-in-time compiler. A JIT compiler can provide substantial performance boosts, especially for mathematical operations. PHP 8.0 also introduced attributes, which allow metadata to be added to program elements like classes or methods. The language has continued to grow more strict and organized through the addition of composite types. These include union types, intersection types, and disjunctive normal form (DNF) types. These tools help programmers write more precise and reliable code.
🖼️ Images & Media (6)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.