PHP

PHP
PHP-logo.svg
Paradigm Imperative, functional, object-oriented, procedural, reflective
Designed by Rasmus Lerdorf
Developer Zend Technologies
First appeared 1995; 23 years ago (1995)[1]
Stable release
7.2.2[2] / January 31, 2018; 22 days ago (2018-01-31)
Typing discipline Dynamic, weak
Implementation language C (primarily; some components C++)
OS Unix-like, Windows
License PHP License (most of Zend engine under Zend Engine License)
Filename extensions .php, .phtml, .php3, .php4, .php5, .php7, .phps, .php-s
Website php.net
Major implementations
Zend Engine, HHVM, Phalanger, Quercus, Project Zero, Parrot
Influenced by
Perl, C, C++, Java, Tcl[1]
Influenced
Falcon, Hack

PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1994,[3] the PHP reference implementation is now produced by The PHP Group.[4] PHP originally stood for Personal Home Page,[3] but it now stands for the recursive acronym PHP: Hypertext Preprocessor[5]

PHP code may be embedded into HTML code, or it can be used in combination with various web template systems, web content management systems, and web frameworks. PHP code is usually processed by a PHP interpreter implemented as a module in the web server or as a Common Gateway Interface (CGI) executable. The web server combines the results of the interpreted and executed PHP code, which may be any type of data, including images, with the generated web page. PHP code may also be executed with a command-line interface (CLI) and can be used to implement standalone graphical applications.[6]

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

The PHP language evolved without a written formal specification or standard until 2014, leaving the canonical PHP interpreter as a de facto standard. Since 2014 work has gone on to create a formal PHP specification.[8]

During the 2010s there have been increased efforts towards standardisation and code sharing in PHP applications by projects such as PHP-FIG in the form of PSR-initiatives as well as Composer dependency manager and the Packagist repository. PHP hosts a diverse array of web frameworks requiring framework-specific knowledge, with Laravel recently emerging as a popular option by incorporating ideas made popular from other competing non-PHP web frameworks, like Ruby on Rails.

  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. ^ "News Archive – 2018: PHP 7.2.2 Released". php.net. 2018-01-31. Retrieved 2017-11-30. 
  3. ^ a b "History of PHP". php.net. 
  4. ^ "History of PHP and related projects". The PHP Group. Retrieved 2008-02-25. 
  5. ^ PHP Manual: Preface, www.php.net
  6. ^ "Introduction: What can PHP do?". PHP Manual. Retrieved 2009-03-05. 
  7. ^ Cite error: The named reference foundations was invoked but never defined (see the help page).
  8. ^ Jackson, Joab (2014-07-31). "PHP gets a formal specification, at last". ITworld. IDG. 

From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Nelliwinne