PHP
is a writing language intended for general web development purposes. [5] Originally created by Danish-Canadian producer Rasmus Lerdorf in 1994. [6] The implementation of the PHP reference is now being produced by the PHP team. [7] PHP originally represented People's Home Page, [6] but now represents a duplicate of PHP: Hypertext Processor. [8]
PHP code is usually processed on a web server by a PHP translator created as a module, daemon or as a working Common Gateway Interface (CGI). On a web server, the result of a translated and rendered PHP code - which can be any type of data, such as generated HTML or binary image data - will form all or part of the HTTP response. There are various web template programs, web content management systems, and web frameworks that can be used to edit or simplify the response. Additionally, PHP can be used for many program functions without web content, such as stand-alone installs [9] and robotic drone controls. [10] PHP code can also be created directly from the command line.
The standard PHP Translator
, powered by Zend Engine, is a free software released under the PHP license. PHP is widely distributed and can be deployed on multiple servers in almost all applications and platforms, for free. [11]
The PHP language appeared without official or general definition until 2014, with the actual implementation acting as standard for other applications used to follow. Since 2014, work has continued to build official PHP data. [12]
W3Techs reports that, as of April 2021, "PHP uses 79.2% of all our language websites that are compatible with the servers we know." [13]
Content
1 History
1.1 Early history
1.2 PHP 3 and 4
1.3 PHP 5
1.4 PHP 6 and Unicode
1.5 PHP 7
1.6 PHP 8
1.6.1 Temporary consolidation
1.6.2 Addition of game talk
1.6.3 Type the changes and additions
1.6.4 Syntax changes and additions
1.6.5 Changes to Library and Extras
1.6.6 Additional changes
1.7 Release history
2 Mascot
3 Syntax
Data Types
Tasks 3.2
3.3 PHP Features
3.3.1 For example
4 Implementation
5 Licensing
Development and society
Installation and editing
8 Use
8.1 Popular and practical statistics
9 Security
10 Look again
11 References
Ongoing reading
History
Early history
Rasmus Lerdorf, who wrote the first part of the Common Gateway Interface (CGI), and Andi Gutmans and Zeev Suraski, rewrote the composer who created PHP 3.
The development of PHP began in 1994 when Rasmus Lerdorf wrote several Common Gateway Interface (CGI) programs in C, [14] [15] [16] which he used to maintain his homepage. You have given them the opportunity to work with web forms and contact information, and this is called "Home Page / Forms" or PHP / FI.
PHP / FI can be used to build simple, powerful web applications. To speed up the reporting of errors and code development, Lerdorf first announced the release of PHP / FI as the "Personal Home Page Tools (PHP Tools) version 1.0" in the Usenet comp.infosystems.www.authoring.cgi discussion group on June 8, 1995. [17 ] [18] These releases already have the basic functions PHP has today. These include Perl-like, form management, and HTML input capabilities. The syntax was similar to Perl's, but it was simpler, more limited and less consistent.
Example of the first PHP syntax:
<! - enter / text / title.html ->
<! - find HTTP_USER_AGENT ->
<! - if substr $ exec_result Mozilla ->
Hello, using Netscape! <p>
<! - end ->
<! - sql database select * table where user = '$ username' ->
<! - if not $ numentries 1 ->
Sorry, that record does not exist <p>
<! - end point ->
Welcome <! - $ user ->! <p>
You have <- $: 0 -> credits left in your account. <p>
<! - enter / text /footer.html ->
The previous PHP was not intended to be a new programming language, and it grew physically, Lerdorf writes looking back: "I don't know how to block it, there was no intention of writing a programming language [...] there. "[19] The development team began construction and, after months of operation and beta testing, officially released PHP / FI 2 in November 1997.