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.
Index
PHP terms from A to Z
Pick a letter or open a card to read what a term means.
- PHPPHP is an open source, general-purpose scripting language that is especially suited to web development, and its name stands for PHP: Hype...
- Recursive acronymA recursive acronym is an abbreviation in which one of the letters stands for the abbreviation itself. PHP is the standard example, becau...
- Server-side scriptingServer-side scripting is code that runs on the web server and prepares a response before it is sent to the visitor's browser. The visitor...
- Web serverA web server is software that receives requests from browsers and returns pages or files, such as Apache or Nginx. It serves static files...
- HTTP requestAn HTTP request is a message a browser sends to a server asking for a page, a file or an action, together with data such as headers, cook...
- HTTP responseAn HTTP response is the reply a server sends to a browser, made up of a status, headers and the content, such as HTML or JSON. The status...
- VariableA variable is a named container that stores a value so a program can use it later. In PHP a variable name starts with a dollar sign, and ...
- Data typeA data type is the kind of value a variable holds, which decides what you can do with it. The PHP manual lists null, bool, int, float, st...
- ArrayAn array is an ordered collection of values that you can reach by number or by name. A list of city names uses numbers as keys, while an ...
Guides
PHP guides
Guides from the full form and how PHP works to variables, functions, forms, databases and security.
-
PHP Full Form: Meaning, Origin and Why It MattersPHP full form is PHP: Hypertext Preprocessor, a recursive acronym. Learn its original meaning, how it began and what the name tells you.
-
How PHP Works on the Server: Request and Response ExplainedUnderstand how PHP works on a web server: the request and response cycle, web server and PHP engine roles, and how output reaches the browser.
- PHP Variables, Data Types and Control Flow for BeginnersLearn PHP variables, data types, operators, conditions and loops in plain language. A beginner guide to the core building blocks of PHP programs.
- PHP Functions and Object Oriented Programming ConceptsUnderstand PHP functions, parameters, return values, classes, objects, inheritance, interfaces and traits in plain language for beginners.
- Working with Forms and Databases in PHP: Core ConceptsLearn how PHP handles HTML forms and databases: GET and POST, validation, PDO and MySQLi, CRUD operations, and the safe way to store and show data.
- PHP Security Basics: Validation, Prepared Statements and MorePHP security basics for beginners: input validation, prepared statements, password hashing, XSS and CSRF concepts, sessions and safe configuration.
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.