What is PHP?

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. Nice, but what does that mean? An example: Example #1 An introductory example <!DOCTYPE HTML> <html>     <head>         <title>Example</title>     </head>     <body>         <?php             echo "Hi, I'm a PHP script!";         ?>     </body> </html> Instead of lots…