Chapter 2 PHP and Integrated Development Environments

2.1 What is PHP?

PHP is a widely used open source server-side scripting language that is especially suited for web development and can be combined with HTML. “Server side” means that scripts written in PHP can be executed by a web server, such as Apache or IIS, with a PHP module installed.

While the acronym PHP originally stood for Personal Home Page, it now stands for “PHP: Hypertext Preprocessor.”

2.2 What is the Difference Between a Script and a Program?

Technically speaking, a script is interpreted whereas a program is compiled, but this is actually not their major difference. There is another more important difference between them!

The main purpose of a script written in a scripting language ...

Get PHP and Algorithmic Thinking for the Complete Beginner now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.