News

In the second instalment of this article series dedicated to PHP 7, we continue our exploration of PHP 7 new features focusing on object-oriented programming support, classes, and interfaces.
In this article, we will review new PHP 8 features related to classes, including enums, the new readonly modifier for a class property, and constructor parameter promotion.
This tutorial provides an overview of the FPDF functionality and two examples using the PHP object-oriented approach to get you started with building your own PDFs.
More about classes Previously, we learned that a class is an entity that defines how an object will behave and what the object will contain when the object is constructed, or instantiated.