PHP is a widely-used, general-purpose scripting language that is especially suited for web development.

PHP (stands for: PHP: Hypertext Preprocessor) is a widely-used general-purpose scripting language that is especially suited for web development.

For this purpose, PHP code can be embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document. It also has evolved to include a command-line interface capability and can be used in standalone graphical applications. PHP can be deployed on most web servers and as a standalone interpreter, on almost every operating system and platform free of charge. PHP is installed on more than 20 million websites and 1 million web servers.

Frameworks such as , , and are written in PHP.


Online documentation

The PHP manual is the official documentation for the language syntax, featuring function search and URL shortcuts (for example http://php.net/explode). The API is well documented for native and additional extensions.

Most additional extensions can be found in PECL. The PEAR repository contains a plethora of community supplied classes.


Free PHP Programming Books

Code Language (used for syntax highlighting): lang-php