PHP

Share This
« Back to Glossary Index
  • Rating:
  • (3748)

PHP is an open-source server-side scripting language designed for Web development to produce dynamic Web pages. The code is interpreted by a Web server with a PHP processor module which generates the resulting Web page. PHP can be deployed on most Web servers and also as a standalone shell on almost every operating system and platform, free of charge. While PHP originally stood for Personal Home Page[8], it is now said to stand for PHP: Hypertext Preprocessor (Source WikiPedia)

PHP (Wikipedia)

PHP
PHP-logo.svg
ParadigmMulti-paradigm: imperative, functional, object-oriented, procedural, reflective
Designed byRasmus Lerdorf
DeveloperThe PHP Development Team, Zend Technologies
First appearedJune 8, 1995; 26 years ago (1995-06-08)
Stable release
8.0.9 Edit this on Wikidata / 29 July 2021; 23 days ago (29 July 2021)
Preview release
8.1.0 Beta 1 Edit this on Wikidata / 22 July 2021; 30 days ago (22 July 2021)
Typing disciplineDynamic, weak

since version 7.0:

Gradual
Implementation languageC (primarily; some components C++)
OSUnix-like, Windows, macOS
LicensePHP License (most of Zend engine under Zend Engine License)
Filename extensions.php,.phar,.phtml,.pht,.phps
Websitewww.php.net Edit this at Wikidata
Major implementations
Zend Engine, HHVM, PeachPie, Quercus, Parrot
Influenced by
Perl, HTML, C, C++, Java, Tcl,JavaScript, Hack
Influenced
Hack, JSP, ASP

PHP is a general-purpose scripting language geared towards web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994. The PHP reference implementation is now produced by The PHP Group. PHP originally stood for Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor.

PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or as a Common Gateway Interface (CGI) executable. On a web server, the result of the interpreted and executed PHP code – which may be any type of data, such as generated HTML or binary image data – would form the whole or part of an HTTP response. Various web template systems, web content management systems, and web frameworks exist which can be employed to orchestrate or facilitate the generation of that response. Additionally, PHP can be used for many programming tasks outside of the web context, such as standalone graphical applications and robotic drone control. PHP code can also be directly executed from the command line.

The standard PHP interpreter, powered by the Zend Engine, is free software released under the PHP License. PHP has been widely ported and can be deployed on most web servers on almost every operating system and platform, free of charge.

The PHP language evolved without a written formal specification or standard until 2014, with the original implementation acting as the de facto standard which other implementations aimed to follow. Since 2014, work has gone on to create a formal PHP specification.

W3Techs reports that, as of April 2021, "PHP is used by 79.2% of all the websites whose server-side programming language we know."

About David Rashty

David Rashty, an entrepreneur and one of the early web pioneers, has over twenty years’ experience as a CTO and a CEO. David is the funder and CEO of CreativeMinds which focus on WordPress and Magento products.