PHP
PHP (noun) means a programming language that runs on a web server to build pages before they are sent to the visitor, commonly used for websites that draw their content from a database. Example: “The whole site is a few thousand lines of PHP talking to a database.”
How to use PHP
Learner’s notesIn plain EnglishPHP is code that runs on a website's server to build each page before you see it.
Always the initialism in practice; the expanded name appears mainly in documentation. Files carry the .php extension.
PHP runs on the server, so visitors never see the code itself — only the finished HTML it produces. This is the opposite of JavaScript running in the browser, which the visitor's device executes.
Trace the full origin ↓Fill the gap
Can you complete this real example?
The whole site is a few thousand lines of _____ talking to a database.
Etymology
Originally an initialism of Personal Home Page Tools; the name was later redefined as the recursive expansion PHP: Hypertext Preprocessor.