Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.

Responsive image


PHP

PHP
PHP-logo.svg
ParadigmImperative, functional, object-oriented, procedural, reflective
Designed byRasmus Lerdorf
DeveloperThe PHP Development Team, Zend Technologies
First appeared1995 (1995)[1]
Stable release
7.4.10[2] / September 3, 2020 (2020-09-03)
Preview release
8.0.0 Beta 4[3] / September 17, 2020 (2020-09-17)
Typing disciplineDynamic, weak

since version 7.0:

Gradual[4]
Implementation languageC (primarily; some components C++)
OSUnix-like, Windows
LicensePHP License (most of Zend engine under Zend Engine License)
Filename extensions.php, .phtml, .php3, .php4, .php5, .php7, .phps, .php-s, .pht, .phar
Websitewww.php.net
Major implementations
Zend Engine, HHVM, Phalanger, Quercus, Parrot
Influenced by
Perl, HTML, C, C++, Java, Tcl,[1] JavaScript, Hack[5]
Influenced
Hack, JSP, ASP

PHP is a general-purpose scripting language that is especially suited to web development.[6] It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994;[7] the PHP reference implementation is now produced by The PHP Group.[8] PHP originally stood for Personal Home Page,[7] but it now stands for the recursive initialism PHP: Hypertext Preprocessor.[9]

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 a 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[10] and robotic drone control.[11] Arbitrary PHP code can also be interpreted and executed via command-line interface (CLI).

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.[12]

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.[13]

As of September 2020, two out of three websites using PHP are still on discontinued PHP versions,[14] and almost half of all PHP websites use version 5.6 or older,[15] that not even Debian supports (while Debian 9 still supports version 7.0 and 7.1, those versions are unsupported by The PHP Development Team[16]). In addition, PHP version 7.2, the most popular supported PHP version, will stop getting security updates on November 30, 2020,[14] in less than 2 months, and therefore unless PHP websites are upgraded to version 7.3 (or newer), 84% of PHP websites will thus use discontinued versions.

  1. ^ a b Lerdorf, Rasmus (2007-04-26). "PHP on Hormones – history of PHP presentation by Rasmus Lerdorf given at the MySQL Conference in Santa Clara, California". The Conversations Network. Retrieved 2009-12-11.
  2. ^ "PHP: News Archive – 2020". 3 September 2020. PHP 7.4.10 Released!. Retrieved 3 September 2020.
  3. ^ "PHP: News Archive – 2020". 17 September 2020. PHP 8.0.0 Beta 4 available for testing. Retrieved 18 September 2020.
  4. ^ "PHP: Function arguments - Manual". secure.php.net.
  5. ^ Stogov, Dmitry (2015-12-04). "It's not a secret that some". Twitter.
  6. ^ "PHP: Hypertext Preprocessor". www.php.net. Retrieved 2020-02-12.
  7. ^ a b "History of PHP". php.net.
  8. ^ "History of PHP and related projects". The PHP Group. Retrieved 2008-02-25.
  9. ^ PHP Manual: Preface, www.php.net.
  10. ^ "Introduction: What can PHP do?". PHP Manual. Retrieved 2009-03-05.
  11. ^ :helicopter: Port of node-ar-drone which allows user to control a Parrot AR Drone over PHP: jolicode/php-ar-drone, JoliCode, 2019-01-11, retrieved 2019-02-23
  12. ^ Cite error: The named reference foundations was invoked but never defined (see the help page).
  13. ^ Jackson, Joab (2014-07-31). "PHP gets a formal specification, at last". Computerworld. IDG.
  14. ^ a b "PHP: Supported Versions". www.php.net. Retrieved 2020-09-02. End of life: A release that is no longer supported. Users of this release should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities.
  15. ^ "Usage Statistics and Market Share of PHP for Websites, September 2020". w3techs.com. Retrieved 2020-09-02.
  16. ^ Cite error: The named reference eol was invoked but never defined (see the help page).

Previous Page Next Page