PHP: Hypertext Preprocessor
This page provides a few concise facts about PHP — a popular server-side scripting language used to generate dynamic web content. The examples on this site demonstrate assembling a page with PHP include() and require().
Facts
- Created in 1994 by Rasmus Lerdorf; PHP originally stood for "Personal Home Page".
- PHP runs on the server and outputs HTML that the browser renders; PHP code is executed before the page is delivered to the client.
- PHP code is embedded in HTML using PHP tags, for example:
<?php echo 'Hello'; ?>. - Popular usage includes powering content management systems (CMS) like WordPress and many web applications using frameworks such as Laravel and Symfony.
- Composer is the standard dependency manager for PHP; it simplifies including reusable packages in projects.