© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
A. VasilevPHP by Examplehttps://doi.org/10.1007/979-8-8688-0258-4_1

1. The First Program

Alex Vasilev1  
(1)
Department of Software Systems and Technologies, Taras Shevchenko National University of Kyiv, Kyiv, Ukraine
 

—I demand to restore the Earth’s ozone layer.

—Alf, we won’t make it by Saturday.

ALF (TV series)

In this chapter, you will create your first PHP program. Namely, you will examine some simple code and determine how it can be executed. There is not much programming in the chapter, but a lot of information is essential for using PHP.

The Program’s Code

A program in PHP is a set of instructions that an interpreter executes. These instructions must be ...

Get PHP by Example: A Practical Guide to Creating Web Applications with PHP 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.