PHP



Website: www.php.net

Designed by: Rasmus Lerdorf


PHP is a general-purpose scripting language geared towards web development.

It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995.

The PHP reference implementation is now produced by the PHP Group.

PHP was originally an abbreviation of 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 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 that can be employed to orchestrate or facilitate the generation of that response.

Additionally, PHP can be used for many programming tasks outside 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 a variety of operating systems and platforms.The PHP language evolved without a written formal specification or standard until 2014, with the original implementation acting as the de facto standard that other implementations aimed to follow.

Since 2014, work has gone on to create a formal PHP specification.W3Techs reports that as of September 2023, “PHP is used by 77.0% of all the websites whose server-side programming language we know.” It also reports that only 16.7% of PHP users use the currently supported 8.x versions.

Most by far use the unsupported PHP 7, more specifically PHP 7.4, while 20% use PHP 5 (slightly more than use the supported PHP 8.x), which is not supported with security fixes and is known to have serious security vulnerabilities.

This most likely indicates that these websites are vulnerable, those using 5.x, while it not does not necessarily indicate that for those using 7.x, since Linux distributions such as Ubuntu and Debian provide commercial support, and it may provide security patches for some unsupported 7.x versions such as 7.4 of PHP.