What is PHP ?
PHP (recursive acronym for PHP: Hypertext Preprocessor) an open source, server-side, HTML embedded scripting language used to create dynamic Web pages.
Instead of lots of commands to output HTML, PHP code can be simply mixed with HTML code, or it can be used in combination with various templating engines and web frameworks. PHP code is usually processed by a PHP interpreter, which is usually implemented as a web server's native module or a Common Gateway Interface (CGI) executable. After the PHP code is interpreted and executed, the web server sends resulting output to its client, usually in form of a part of the generated web page; for example, PHP code can generate a web page's HTML code, an image, or some other data.
PHP has also evolved to include a command-line interface (CLI) capability and can be used in standalone graphical applications.