Technical requirements
To examine and run the code examples provided in this chapter, the minimum recommended hardware is outlined here:
- x86_64-based desktop PC or laptop
- 1 gigabyte (GB) free disk space
- 4 GB of random-access memory (RAM)
- 500 kilobits per second (Kbps) or faster internet connection
In addition, you will need to install the following software:
- Docker
- Docker Compose
Please refer to the Technical requirements section of Chapter 1, Introducing New PHP 8 OOP Features, for more information on Docker and Docker Compose installation, as well as how to build a Docker container like the one used to demonstrate the code used in this book. In this book, we refer to the directory in which you restored the sample code for this book as /repo
.
The source code for this chapter is located here:
We can now begin our discussion by examining the overall trend in PHP 8 toward objects rather than resources.