Nepedia
Back to Discover
Fluent Reader
💻

PHP

technology Maturity 7-9 war conflict Next article →

This article covers sensitive topics: war_conflict. Parents can manage visibility in Parental Controls.

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.

Webysther 20160423 - Elephpant
Webysther 20160423 - Elephpant

This language helps create pages that can change. For example, a site might show different information to different people. While it is mostly for the web, it can do other tasks too. It is free software that anyone can use.

When you visit a website, PHP works behind the scenes on a web server. A server is a computer that holds website data.

Scheme dynamic page en
Scheme dynamic page en

First, the server reads the PHP code using something called an interpreter. This interpreter can work as a module or a special program. Then, the code is executed to create data. This data might be HTML text or even an image. Finally, the server sends this information back to your screen.

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.

Custom-software-developement-php-net
Custom-software-developement-php-net

He called his early version PHP/FI. It could handle web forms and talk to databases. In 1995, he released it to the public. It was not meant to be a whole new language at first. It just grew as he added new steps to it.

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.

PHP 7.1 - Example phpinfo() Screen
PHP 7.1 - Example phpinfo() Screen

Later, a group called the PHP Group began producing the official version.

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.

"Hello World" Application in PHP
"Hello World" Application in PHP

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.

364 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (6)
File:Custom-software-developement-php-net.JPG
Custom-software-developement-php-net.JPG
File:Webysther 20160423 - Elephpant.svg
Webysther 20160423 - Elephpant.svg
File:"Hello World" Application in PHP.png
"Hello World" Application in PHP.png
File:PHP 7.1 - Example phpinfo() Screen.png
PHP 7.1 - Example phpinfo() Screen.png
File:LAMP software bundle.svg
LAMP software bundle.svg
File:Scheme dynamic page en.svg
Scheme dynamic page en.svg
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

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.