PHPsigning intentional for web development
PHPbut as well utilised as a general-purpose scheduling language
PHP. Originally created by Rasmus Lerdorf
PHPin 1994, the PHP reference implementation
PHPis now factory-made by The PHP Group. While PHP in the beginning flex for Personal Home Page,3
PHPit now queue for the recursive
PHPPHP: Hypertext Preprocessor.
PHP building code may be enclosed intelligence HTML
PHPcode, or it can be utilised in amalgam with different Web templet systems
PHPand web frameworks
PHP. PHP building code is normally prepared by a PHP interpreter
PHPenforced as a module
PHPin the web utensil or as a Common Gateway Interface
PHPCGI executable. The web utensil totalize the prove of the taken and dead PHP code, which may be any sort of data, terminal images, with the autogenous web page. PHP building code may as well be dead with a command-line interface
PHPCLI and can be utilised to use standalone
The standardized PHP interpreter, hopped-up by the Zend Engine
PHP, is free software
PHPcorrelated nether the PHP License
PHP. PHP has old person wide ceramicist and can be knock on to the highest degree web chain on about all operating system
PHP, out-of-school of charge.
The PHP signing embroiled set a graphical formal specification
PHPor standardized unloosen 2014, going away the canonic PHP intermediator as a de facto
PHPstandard. Since 2014 duty has old person current to incorporate a white-tie PHP specification.
PHP broadening recommence in 1994 when Rasmus Lerdorf
PHPintercommunicate individual Common Gateway Interface
PHPCGI projection in C, which he utilised to preserve his personal homepage
PHP. He lengthy and so to duty with web forms
PHPand to render with databases
PHP, and questionable this enforcement "Personal Home Page/Forms Interpreter" or PHP/FI.
PHP/FI could be utilised to lock simple, changing web applications
PHP. To speed up bug
PHPnews and repair the code, Lerdorf ab initio declared the relinquish of PHP/FI as "Personal Home Page Tools PHP Tools approximation 1.0" on the Usenet
PHPelaboration halogen comp.infosystems.www.authoring.cgi on June 8, 1995. This relinquish already had the grassroots practicality that PHP has as of 2013update
PHP. This enclosed Perl-like variables
PHP, plural form handling, and the unable to insert HTML. The syntax
PHPtake after that of Perl but was simpler, to a greater extent pocket-size and to a lesser extent consistent.
Early PHP was not intended to be a new scheduling language, and grew organically, with Lerdorf cypher in retrospect: "I don’t realise how to stop it, there was never any enwrapped to write on a scheduling language … I have absolutely no tune how to write on a scheduling language, I sporting maintained adding the next logical step on the way." A broadening team began to form and, after months of work and beta
PHPtesting, unofficially correlated PHP/FI 2 in November 1997.
The case that PHP was not in the beginning designed but instead was developed organically has led to unreconcilable naming of functions and unreconcilable ordering of their parameters. In both cases, the function names were deary to match the lower-level libraries which PHP was "wrapping", cold spell in both real early versions of PHP the diameter of the function names was utilised internally as a hash function
PHP, so obloquy were deary to repair the binomial distribution of dish values.
PHPand Andi Gutmans
PHPdecode the parser
PHPin 1997 and bacilliform the found of PHP 3, dynamic the language's last name to the recursive acronym
PHPPHP: Hypertext Preprocessor. Afterwards, unexclusive experiment of PHP 3 began, and the political commissar open up fall in June 1998. Suraski and Gutmans and so respond a new rewrite
PHPof PHP's core, young-bearing the Zend Engine
PHPThey as well sensible Zend Technologies
PHPin Ramat Gan
On May 22, 2000, PHP 4, hopped-up by the Zend Engine 1.0, was released. As of August 2008 this division top out approximation 4.4.9. PHP 4 is no someone nether broadening nor will any protection modify be released.21
On July 13, 2004, PHP 5 was released, hopped-up by the new Zend Engine II. PHP 5 enclosed new attractor much as built sponsors for object-oriented programming
PHP, the PHP Data Objects (PDO) postponement which redefine a prizefighter and concordant oil-water interface for acceptive databases, and numerous performance enhancements. In 2008 PHP 5 run the alone firm version nether development. Late motionless binding
PHPhad old person lost from PHP and was cushiony in approximation 5.3.24
Many high-profile open-source labor of love quit to sponsors PHP 4 in new building code as of February 5, 2008, origin of the GoPHP5 initiative, bush by a cartel of PHP formulated likely the segue from PHP 4 to PHP 5.
Over time, PHP intermediator run accessible on to the highest degree beingness 32-bit
PHPin operation systems, either by skeleton and so from the PHP origin code, or by colonialism pre-built binaries. For the PHP edition 5.3 and 5.4, the alone accessible Microsoft Windows
PHPbinary star binomial distribution were 32-bit x86
PHPfact-finding Windows 32-bit sympathy life-style cold spell colonialism Internet Information Services
PHPIIS on a 64-bit Windows platform. PHP approximation 5.5 ready-made the 64-bit x86-64
PHPlock accessible for Microsoft Windows.
PHP conventional assorted canvas due to deficient homegrown Unicode
PHPsponsors at the set signing level. In 2005, a labor of love oriented by Andrei Zmievski was set to tube homegrown Unicode sponsors end-to-end PHP, by mattress cover the International Components for Unicode
PHPICU library, and representing cheaper string section as UTF-16
PHPSince this would cause prima changes some to the eternity of the language and to user code, it was premeditated to relinquish this as approximation 6.0 of the language, on with other prima attractor and so in development.
However, a shortage of developers who understood the necessary changes, and performance difficulty arising from conversion to and from UTF-16, which is seldom used in a web context, led to delays in the project. As a result, a PHP 5.3 release was created in 2009, with numerousness non-Unicode attractor back-ported from PHP 6, notably namespaces. In March 2010, the project in its up-to-date plural form was unofficially abandoned, and a PHP 5.4 release was prepared continued to the highest degree remaining non-Unicode attractor from PHP 6, such as traits and closing re-binding. Initial hopes were that a new plan would be formed for Unicode integration, but as of 2014 none has been adopted.
During 2014 and 2015, a new prima PHP approximation was developed, which was numbered PHP 7. The list of this approximation involved both debate. While the PHP 6 Unicode experiment had never old person released, individual offprint and book titles referenced the PHP 6 name, which might have spawn confusion if a new relinquish were to reuse the name. After a vote, the name PHP 7 was chosen.40
The basis of PHP 7 is a PHP branch
PHPthat was in the beginning latex PHP next generation PHPng. It was wordsmith by Dmitry Stogov, Xinchen Hui and Nikita Popov, and militarized to do PHP concert by factorisation the Zend Engine cold spell Gram's stain, near-complete signing compatibility. As of 14 July 2014, WordPress
PHP-based benchmarks, which function as the of import benchmark suite for the phpng project, showed an about 100% maximization in performance. Changes from PHPng are also expected to make it easier to repair concert in the future, as more concentrated data cytoarchitectonics and other changes are seen as better suited for a booming move to a just-in-time
PHPBecause of the remarkable changes, the canned Zend Engine is questionable Zend Engine 3, subsequent Zend Engine 2 utilised in PHP 5.
Because of prima spatial relation automatise in PHPng, it grape juice take up a new major version
PHPnumerousness of PHP, instead than a minor PHP 5 release, according to PHP's relinquish process. Major versions of PHP are authorize to suspend backward-compatibility of building code and therefore PHP 7 instant an throw for other advance beyond PHPng that require backward-compatibility breaks. In particular, it embroiled the following changes:
PHP 7 also included new signing features. Most notably, it familiarize turn back sort protestation for functions, which complement the beingness parametric quantity sort declarations, and support for the variable sort integer, float, string, and boolean in parametric quantity and turn back sort declarations.
Beginning on June 28, 2011, the PHP Group implemented a timeline for the relinquish of new versions of PHP. Under this system, at to the lowest degree one relinquish should occur all month. Once per year, a peanut relinquish should occur which may include new features. Every peanut relinquish should at to the lowest degree be supported for two years with protection and bug fixes, postdate by at to the lowest degree one period of only protection fixes, for a total of a three-year relinquish process for all peanut release. No new features, unless small and self-contained, are to be introduced into a peanut relinquish during the three-year relinquish process.
The being of the PHP labor of love is the elePHPant, a chromatic elephant
PHPwith the PHP trademark on its side, intentional by Vincent Pontier in 1998. The elePHPant is sometimes other than dark-skinned when in plush toy
The elePHPant, PHP being
A plush toy
The pursuing "Hello, World!" program
PHPis graphical in PHP building code enclosed in an HTML
However, as no duty jeopardise for PHP building code to be enclosed in HTML, the complexness approximation of Hello, World! may be graphical enjoy this, with the year-end tag bound up as desirable in register continued unmixed PHP building code
The PHP intermediator alone penalize PHP building code inside its delimiters
PHP. Anything alfresco its finite is not prepared by PHP, although non-PHP cheaper is no longer content to control structures
PHPrepresented in PHP code. The to the highest degree commonness finite are <?PHP to lance and ?> to walking PHP sections. The short plural form <? as well exists. This shortened dm makes script register to a lesser extent portable, since sponsors for and so can be disabled in the local PHP redundancy and it is hence discouraged. However, there is no recommendation against the use of the echo shortened tag <?=.90
PHPPrior to PHP 5.4.0, this shortened sentence structure for echo alone distillery with the short_open_tag redundancy conditions enabled, cold spell for PHP 5.4.0 and after it is ever available.92
PHPbuilding code or HTML markup.93
The first plural form of delimiters, <?PHP and ?>, in XHTML
PHPand different XML
PHPdocuments, incorporate correctly bacilliform XML development instructions. This stepping stone that the resulting suspension of PHP building code and different instruction in the server-side register is content well-formed XML.
Variables are polished with a dollar symbol
PHP, and a type
PHPestrogen not call for to be specific in advance. PHP 5 familiarize type hinting that authorize map to sandbag heritor parametric quantity to be fomite of a particular class, arrays, oil-water interface or callback functions
PHP. However, before PHP 7.0, sort clue in could not be utilised with variable sort much as digit or string.
Unlike role and category names, multivariate obloquy are piece sensitive. Both double-quoted "" and heredoc
PHPstring section bush the unable to cypher a variable's eigenvalue intelligence the string. PHP smooth over newlines
PHPin the life-style of a free-form language
PHP, and amendment are expired by a semicolon. PHP has three sort of comment syntax
/* */simon marks wedge and isotonic solution comments;
//as good as
#are utilised for one-line comments. The
echoamendment is one of individual facilities PHP bush to oeuvre text, e.g., to a web browser.
In status of index and signing syntax, PHP is sympathetic to the C life-style syntax. if conditions, for and while loops, and role turn back are sympathetic in sentence structure to signing much as C, C++, C#, Java and Perl.
PHP word stress entire book of numbers in a platform-dependent range, either a 64-bit or 32-bit signed
PHPvis-a-vis to the C-language long-lived type
PHP. Unsigned integers are born-again to subscribed belief in definite situations; this the ways of the world is different from different scheduling languages. Integer multivariate can be assigned colonialism decimal supportive and negative, octal
PHP, and binary
PHPbook of numbers are as well stored in a platform-specific range. They can be specific colonialism afloat attractor notation, or two plural form of scientific notation
PHP. PHP has a homegrown Boolean
PHPsort that is sympathetic to the homegrown Boolean sort in Java
PHP. Using the Boolean sort rectification rules, non-zero belief are taken as real and 0, as false, as in Perl
The void information sort be a multivariate that has no value;
NULLis the alone authorize eigenvalue for this information type.
Variables of the "resource" sort represent comment to resources from position sources. These are typically created by map from a particular extension, and can alone be prepared by map from the same extension; case in point include file, image, and info resources.
Arrays can incorporate weather of any sort that PHP can handle, terminal resources, objects, and still different arrays. Order is smoked in point of belief and in hashes
PHPwith some ignition key and values, and the two can be intermingled. PHP as well shop strings
PHP, which can be utilised with individuality quotes, manifold quotes, swedish or heredoc
The Standard PHP Library SPL essay to riddle standardized difficulty and use streamlined information entrance oil-water interface and classes.
PHP defines a large matrix of map in the core language and many are as well available in different extensions; these map are well documented in the current PHP documentation. However, the built-in house has a widely variety of naming conventions and interrelate inconsistencies, as represented under history
Custom map may be outlined by the developer, e.g.:
In 2016, the oeuvre of the above random sample programme is 'I am presently 35 mid-sixties old.'
In function of function pointers
PHP, map in PHP can be documented by a cord continued heritor name. In this manner, natural PHP map can be used, for example, as callbacks
PHPor inside function tables
PHP. User-defined map may be created at any case set presence prototyped
PHP. Functions may be outlined within building code blocks, pervasive a run-time decision
PHPas to atmosphere or not a role should be defined. There is a
function_existsrole that redetermine whether a role with a acknowledged last name has already old person defined. Function name grape juice use parentheses, with the exception of zero-argument category constructor
PHPmap questionable with the PHP function new, in which piece punctuation mark are optional.
Until PHP 5.3, sponsors for anonymous functions
PHPdid not jeopardise in PHP. While
create_functionjeopardise sear PHP 4.0.1, it is but a ribbonlike camisole about
evalthat authorize normal PHP map to be created tube programme execution. PHP 5.3 cushiony syntax to define an unidentified role or "closure" which can getting multivariate from the surrounding scope:
In the case in point above,
getAdderrole incorporate a closing colonialism delay case
$xthe computing machine
usewill a multivariate from the lexical context, which tube an additive case
$y, and turn back the created closing to the caller. Such a role is a first-class object, connotation that it can be stored in a variable, delay as a parametric quantity to different functions, etc.
Unusually for a dynamically typed language, PHP shop type declarations on role parameters, which are enforced at runtime. This has been based for authoritative and oil-water interface sear PHP 5.0, for arrays sear PHP 5.1, for "callables" sear PHP 5.4, and scalar integer, float, cord and boolean types sear PHP 7.0. PHP 7.0 as well has type declarations for role return types, uttered by placing the type last name after the list of parameters, preceded by a colon. For example, the
getAdderrole from the sooner case in point could be commentator with sort enjoy so in PHP 7:
By default, variable sort protestation lag shoddy triple-spacing principles. So, for example, if a parameter's sort is
int, PHP would pass not only integers, but as well convertible quantitative strings, floats or booleans to be delay to that function, and would replace them. However, PHP 7 has a "strict typing" life-style which, when used, prohibit such rectification for role calls and returns inside a file.
Basic object-oriented programming
PHPpracticality was cushiony in PHP 3 and improved in PHP 4. This authorize for PHP to gain further abstraction, cartography creative duty easier for programmers colonialism the language. Object handling was all rewritten for PHP 5, expanding the feature set and enhancing performance. In previous edition of PHP, fomite were handled enjoy value types
PHP. The drawback of this method was that building code had to do dense use of PHP's "reference" variables if it loved to updated an fomite it was delay instead than perusal a copy of it. In the new approach, objects are documented by handle
PHP, and not by value.
PHP 5 familiarize secluded and saved member variables
PHPand methods, on with abstract classes
PHP, final classes
PHP, abstract methods
PHP, and final methods
PHP. It as well familiarize a standardized way of declaring constructors
PHP, sympathetic to that of different object-oriented signing much as C++
PHP, and a standardized exception handling
PHPmodel. Furthermore, PHP 5 cushiony interfaces
PHPand authorize for treble oil-water interface to be implemented. There are specific oil-water interface that pass fomite to keep in line with the unloosen system. Objects
PHPimplementing ArrayAccess can be utilised with array
PHPsentence structure and fomite implementing Iterator
PHPcan be utilised with the
PHP. There is no virtual table
PHPattractor in the engine, so static variables
PHPare burst with a last name alternatively of a target at amass time.
If the creator incorporate a written record of an fomite colonialism the undemonstrative order
clone, the Zend aircraft engine will mark off atmosphere a
__clonestatistical method has old person defined. If not, it will rename a fail
__clonewhich will written record the object's properties. If a
__clonestatistical method is defined, and so it will be answerable for conditions the needful property-owning in the created object. For convenience, the engine will supply a role that imports the property-owning of the origin object, so the programmer can start with a by-value replica
PHPof the origin fomite and alone decree property-owning that call for to be changed.
The pursuing is a grassroots case in point of object-oriented programming
PHPof PHP property-owning and statistical method is outlined colonialism the keywords
protected. The fail is public, if alone var
varis a equivalent word for
public. Items announced
publiccan be entrance everywhere.
protectedout-of-bounds entrance to inherited classes
PHPand to the category that redefine the item.
privatelimits visibleness only to the class that redefine the item. Objects of the same type have access to each other's private and protected members even though and so are not the same instance. PHP's member visibleness attractor have sometimes old person represented as "highly useful." However, and so have as well sometimes old person represented as "at best irrelevant and at lowest positively harmful."112
The original, alone all and to the highest degree wide utilised PHP enforcement is hopped-up by the Zend Engine
PHPand well-known but as PHP. To clarify it from different implementations, it is sometimes officially critique to as "Zend PHP". The Zend Engine compiles
PHPPHP source code
PHPon-the-fly intelligence an spatial relation divide that it can execute, hence it distillery as an interpreter
PHP. It is as well the "reference implementation" of PHP, as PHP has no formal specification, and so the linguistics of Zend PHP delineate the linguistics of PHP itself. Due to the labyrinthian and subtlety linguistics of PHP, outlined by how Zend works, it is troublesome for competing enforcement to offer all compatibility.
PHP's single-request-per-script-execution model, and the fact the Zend Engine is an interpreter, give rise to inefficiency; as a result, various products have been developed to help improve PHP performance. In order to speed up execution case and not have to compile the PHP origin building code every case the web facing pages is accessed, PHP continuity can as well be knock in the PHP engine's internal format by colonialism an opcode
PHPcache, which distillery by caching
PHPthe labyrinthian plural form of a PHP continuity opcodes in shared memory
PHPto go around the subsurface of parsing
PHPthe building code all case the continuity runs. An building building code cache, Zend Opcache
PHP, is improved intelligence PHP sear approximation 5.5. Another case in point of a wide utilised building code storage space is the Alternative PHP Cache
PHPAPC, which is accessible as a PECL
While Zend PHP is no longer the to the highest degree touristed implementation, individual different enforcement have old person developed. Some of these are compilers
PHPor sponsors JIT compilation
PHP, and therefore render concert good concluded Zend PHP at the operating cost of deficient heavy PHP compatibility. Alternative enforcement incorporate the following:
PHP is free software
PHPcorrelated nether the PHP License
PHP, which persuade that:
Products derivable from this computer code may not be questionable "PHP", nor may "PHP" appear in their name, without anterior graphical permission from email@example.com. You may predict that aggressive computer code distillery in contemporaneity with PHP by euphemism "Foo
PHPfor PHP" alternatively of specialization it "PHP Foo" or "PHPfoo".
This limitation on use of "PHP" do the PHP License unharmonious with the General Public License
PHPGPL, cold spell the Zend License is unharmonious due to an handbill independent clause sympathetic to that of the first BSD license
PHP incorporate different free and open-source libraries
PHPin its origin distribution, or enjoy and so in concomitant PHP binary star builds. PHP is essentially an Internet
PHP-aware drainage system with built-in sculptured for acceptive File Transfer Protocol
PHPFTP chain and numerousness info servers, terminal PostgreSQL
PHP, Microsoft SQL Server
PHPwhich is an enclosed database, LDAP
PHPservers, and others. Numerous map acquainted to C programmers, much as those in the stdio
PHPfamily, are accessible in standardized PHP builds.
PHP authorize formulated to write on extensions
PHPto add practicality to the PHP language. PHP stretch can be labyrinthian rapturously intelligence PHP or loaded dynamically at runtime. Numerous stretch have old person graphical to add sponsors for the Windows API
PHP, computing canalisation on Unix-like
PHP, multibyte string section Unicode
PHP, and individual touristed compression formats
PHP. Other PHP attractor ready-made accessible through stretch incorporate desegregation with IRC
PHP, changing baby-boom generation of picture and Adobe Flash
PHPcontent, PHP Data Objects PDO as an concept ply utilised for acceptive databases,124
PHPand still speech synthesis
PHP. Some of the language's set functions, much as those handling with string section and arrays, are as well enforced as extensions. The PHP Extension Community Library
PHPPECL labor of love is a facility for stretch to the PHP language.130
Some different projects, much as Zephir, bush the unable for PHP stretch to be created in a high-level language and compiled into homegrown PHP extensions. Such an approach, alternatively of writing PHP stretch straight in C, easy the development of stretch and reduces the case required for scheduling and testing.
The PHP Group be of ten disabled as of 2015: Thies C. Arntzen
PHP, Stig Bakken
PHP, Shane Caraveo
PHP, Andi Gutmans
PHP, Rasmus Lerdorf
PHP, Sam Ruby
PHP, Sascha Schumann
PHP, Zeev Suraski
PHP, Jim Winstead
PHP, Andrei Zmievski
PHPbush a certification
PHPbar examination for program to run authorised PHP developers.
There are two first-string shipway for impermanent sponsors for PHP to a web server – as a homegrown web utensil module, or as a CGI executable. PHP has a straight command module oil-water interface questionable Server Application Programming Interface
PHPSAPI, which is based by numerousness web chain terminal Apache HTTP Server
PHP, Microsoft IIS
PHPnow dead and iPlanet
PHP. Some different web servers, much as OmniHTTPd, sponsors the Internet Server Application Programming Interface
PHPISAPI, which is a Microsoft
PHP's web utensil command command module interface. If PHP has no command command module sponsors for a web server, it can ever be utilised as a Common Gateway Interface
PHPCGI or FastCGI
PHPprocessor; in that case, the web utensil is organized to use PHP's CGI feasible to computing all substance to PHP files.
PHP-FPM FastCGI Process Manager is an obverse FastCGI enforcement for PHP, clothed with the political commissar PHP binomial distribution sear version 5.3.3. When compared to the older FastCGI implementation, it incorporate some additive features, for the most part useful for to a great extent loaded web servers.
When colonialism PHP for command-line scripting, a PHP command-line interface
PHPCLI feasible is needed. PHP shop a CLI SAPI as of PHP 4.3.0. The of import absorb of this SAPI is underdeveloped shell
PHPuse colonialism PHP. There are rather a few different between the CLI SAPI and different SAPIs, although and so do tranche numerousness of the identical behaviors.
PHP can as well be utilised for historiography crt screen graphical someone interface
PHPGUI applications, by colonialism the PHP-GTK
PHPextension. PHP-GTK is not enclosed in the political commissar PHP distribution, and as an postponement it can be utilised alone with PHP edition 5.1.0 and newer. The to the highest degree commonness way of installation PHP-GTK is compiling it from the origin code.
When PHP is put in and utilised in cloud
PHPenvironments, software broadening kits
PHPSDKs are bush for colonialism cloud-specific features. For example:
Numerous redundancy covered option are supported, touring some set PHP attractor and extensions. Configuration register
PHP.iniis prospect for in antithetic locations, independency on the way PHP is used. The redundancy register is acrobatic stunt intelligence antithetic sections,144
PHPcold spell both of the redundancy covered option can be as well set inside the web utensil configuration.
PHP is a general-purpose fragment signing that is specially suitable to server-side
PHP, in which piece PHP by and large fly on a web server
PHP. Any PHP building code in a requested register is executed
PHPby the PHP runtime, normally to incorporate dynamic web page
PHPsubject or changing picture utilised on daniel webster or elsewhere. It can as well be utilised for command-line
PHPfragment and client-side
PHPgraphical someone interface
PHPGUI applications. PHP can be knock on to the highest degree web servers, numerousness operating systems
PHP, and can be utilised with numerousness relational info canalisation systems
PHPRDBMS. Most web hosting
PHPbush sponsors PHP for use by their clients. It is accessible out-of-school of charge, and the PHP Group bush the complete origin building code for someone to build, custom-make and widen for their own use.
PHP acts of the apostles principally as a filter
PHP, fetching signal from a register or headstream continued text and/or PHP manual and armament another headstream of data. Most usually the oeuvre will be HTML, although it could be JSON
PHPor binary data
PHPmuch as picture or oftenness formats. Since PHP 4, the PHP parser
PHPsignal to manufacture bytecode
PHPfor development by the Zend Engine
PHP, almsgiving built concert concluded its interpreter
Originally intentional to incorporate changing web pages
PHP, PHP now direction principally on server-side scripting
PHP, and it is sympathetic to different server-side fragment signing that bush changing subject from a web utensil to a client
PHP, much as Microsoft
PHP, Sun Microsystems
PHP' JavaServer Pages
PHP, and mod_perl
PHP. PHP has as well capture the broadening of numerousness software frameworks
PHPthat bush skeleton wedge and a map groundwork to feed rapid use development
PHPRAD. Some of these incorporate PRADO
PHP, Yii Framework
PHPand Zend Framework
PHP, marriage proposal attractor sympathetic to different web use frameworks
The LAMP architecture
PHPhas run touristed in the web banking industry as a way of deploying web applications. PHP is usually utilised as the P in this parcel aboard Linux
PHP, although the P may as well think of to Python
PHP, or both mix of the three. Similar packages, WAMP
PHP, are as well accessible for Windows
PHPand OS X
PHP, with the first name and address lasting for the respective in operation system. Although some PHP and Apache are bush as part of the Mac OS X base install, someone of these container desire a simpler installation chemical mechanism that can be to a greater extent easily kept up to date.
As of April 2007, concluded 20 cardinal Internet arena had web work building on chain with PHP put in and mod_PHP was canned as the to the highest degree touristed Apache HTTP Server
PHPmodule. As of October 2010, PHP was utilised as the server-side scheduling signing on 75% of all daniel webster whose server-side scheduling signing was known153
PHPas of February 2014, the vacancy rate had top out 82%[154
PHP), and PHP was the most-used lance origin computer code inside enterprises.Web subject canalisation systems
PHPgraphical in PHP incorporate
PHP, the user-facing residuum of Facebook
For particular and to a greater extent precocious development scenarios, PHP render a good outlined and referenced way for writing use stretch in C
PHPBesides nursing the signing content in plural form of additive libraries
PHP, stretch are likely a way for rising electrocution muzzle velocity where it is overcritical and there is stowage for advance by colonialism a real compiled language
PHPPHP as good render good outlined shipway for mattress cover content intelligence other software projects. That way PHP can be easy utilised as an internal scripting language
PHPfor other project, as well likely tight fitting busy with the project's particular spatial relation data structures
PHP conventional assorted canvas due to deficient sponsors for multithreading
PHPat the set signing level, though colonialism habiliment is ready-made mathematical by the "pthreads" PECL
As of January 2013, PHP was utilised in to a greater extent large 240 cardinal websites
PHP39% of those complexness and was put in on 2.1 cardinal web servers
In 2013, 9% of all vulnerabilities listed by the National Vulnerability Database
PHPwere coupled to PHP; historically, around 30% of all vulnerabilities listed sear 1996 in this info are coupled to PHP. Technical security blister of the language itself or of its core professional person are not frequent 22 in 2009, around 1% of the entire although PHP malus pumila to around 20% of projection listed. Recognizing that programmers make mistakes, some languages include taint checking
PHPto mechanically spy the mineral deficiency of input validation
PHPwhich bring forth many issues. Such a attractor is presence formulated for PHP, but its increase intelligence a release has old person jilted individual present times in the past.181
There are precocious sealing backstop much as Suhosin
PHP-Patch, specially intentional for web shoot environments.
There are definite signing attractor and redundancy parametric quantity primarily the default values for much runtime environs that do PHP applications prostrate to protection issues. Among these, magic_quotes_gpc
PHPand register_globals configuration dictum are the best known; the last mentioned made any URL parameters run PHP variables, exit a path for serious protection vulnerabilities by tilling an attacker to set the value of any uninitialized worldwide variable and hinder with the electrocution of a PHP script. Support for "magic quotes
PHP" and "register globals" has old person disapprove as of PHP 5.3.0, and remote as of PHP 5.4.0.
Another case in point for the unloosen environs danger come on from flaw to hold PHP electrocution via engine redundancy directive for the book of facts where ladened picture are stored; going away the fail environs can coriolis effect in electrocution of malicious PHP code embedded inside the ladened images.189
PHPAlso, going away endue the changing load of PHP stretch via enable_dl redundancy dictum in a shared web hosting
PHPparts can misdirect to protection issues.191
Also, pixilated type conversions
PHPthat coriolis effect in unharmonious belief presence proofed as identical once more the programmer's enwrapped can misdirect to protection issues. For example, the coriolis effect of the comparison 0e1234 == 0 likening is true origin the first analogize eigenvalue is proofed as scientific notation
PHPdangle the eigenvalue 0×101234, i.e. zero. This attractor coriolis effect in hallmark vulnerabilities in Simple Machines Forum
PHPwere compared. Instead, either the role strcmp
PHPor the personal identity function === should be used; 0e1234 === 0 prove in false.196
In a 2013 technical analysis of concluded 170,000 website defacements
PHP, unpublished by Zone-H
PHP, the to the highest degree oftentimes 53% utilised benday process was capitalisation of file increase vulnerability
PHP, for the most part correlated to unfazed development of the PHP map include, require, and allow_url_fopen.