PHP, spelled out

PHP Full Form

PHP: PHP Hypertext Preprocessor

What PHP stands for, where the name came from and how PHP works on the server, with a glossary and beginner guides on variables, functions, forms and security.

Browse the glossary Read the guides

Glowing purple server blocks connected by lines of light on a dark background.

Index

PHP terms from A to Z

Pick a letter or open a card to read what a term means.

All terms

Questions

Quick answers

All questions

What is the full form of PHP?

The full form of PHP is PHP: Hypertext Preprocessor. It is a recursive acronym, which means the first letter stands for the name itself, and the PHP manual describes it in exactly this way. The older meaning was Personal Home Page, from the early tools that Rasmus Lerdorf made for his own website in 1994. In an exam or interview, give the current expansion first, then mention that it is recursive and add the original meaning. See also the guide PHP Full Form: Meaning, Origin and Why It Matters.

What does PHP stand for originally?

Originally PHP stood for Personal Home Page. The PHP manual says Rasmus Lerdorf created the first version in 1994 as a set of CGI programs, first used to track visits to his online resume, and called the suite Personal Home Page Tools. When Andi Gutmans and Zeev Suraski rewrote the parser, the language was renamed simply PHP, and the letters became the recursive acronym PHP: Hypertext Preprocessor that is used today. It is useful to know both meanings.

Who created PHP?

Rasmus Lerdorf created PHP in 1994. The PHP manual says the first version was a set of Common Gateway Interface programs written in C, used to track visits to his online resume. Later, Andi Gutmans and Zeev Suraski of Tel Aviv began a complete rewrite of the parser in 1997, which led to PHP 3 and the engine used afterwards. Today the language is maintained by a large community of contributors who discuss and vote on changes in public.

Is PHP a programming language?

Yes, PHP is a programming language. The PHP manual calls it a widely used, open source, general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It is described as a scripting language because the code is interpreted at run time rather than compiled by the developer in advance. For an exam answer, write that PHP is an open source, server-side scripting language designed for web development.

What is PHP used for?

PHP is mainly used to build dynamic websites and web applications. Typical uses are content management systems, online stores, contact and registration forms, dashboards, and APIs that return data such as JSON to mobile or JavaScript applications. Because PHP runs on the server, it can read a database, check a login and build a different page for each visitor before sending the result to the browser. It can also generate files or redirect visitors.

Is PHP free to use?

Yes, PHP is free to use. The PHP manual describes it as open source, so you can download it, run it and build projects without paying a licence fee. It runs on Linux, Windows and macOS, and many hosting plans already include it, so you can start learning on your own computer with a local development package. Costs usually come from hosting, a domain name or paid tools rather than from the language itself.

Is PHP front-end or back-end?

PHP is a back-end language. It runs on the server, prepares the response and sends only the result to the browser, which then shows the page. The browser never receives your PHP instructions, which is why view source does not reveal them. The front end is what the visitor sees and uses, built with HTML, CSS and JavaScript. PHP often generates that front-end code, but it does not run in the browser itself.

Is PHP case sensitive?

Partly. The PHP manual states that variable names are case-sensitive, so a name in capitals and the same name in small letters are two different variables. Keywords and function names are generally not case-sensitive, so calling a function with different capitals usually still works, although the manual advises using the casing used in the declaration. The safest habit is to write every name in one consistent style throughout your project.