PHP Constructors and Inheritance

PHP Constructors and Inheritance When working in OOP PHP, understanding constructors is essential for manipulating objects. Constructors are magic methods that get invoked when an object is instantiated from a class. They typically handle the initialization of an object’s properties. These initialisations are split between parent and child classes, and the relationship between parent and […]

Bitwise and Logical Operators in PHP

Bitwise and logical operators

Difference Between Bitwise and Logical Operators in PHP The distinction between bitwise operators and logical operators operators is often overlooked and confused. They are often used one for another: it is true they have some overlapping domains of application, and yet, their functionality differ significantly. Here’s a breakdown of how these operators work: Logical Operators: […]

List of PHP native interfaces, and their implementation

List of PHP native interfaces, and their implementation This is the list of PHP native interfaces, and their implementation as native classes. This was extracted from the PHP 8.3 source code, with Reflection. Each link leads to the documentation. It is based on a standard PHP 8.3 distribution, plus a few extensions. Interfaces that are […]

Changed Behavior in PHP: The Ultimate Guide to Navigating PHP Features Updates

Changed Behavior in PHP

The Ultimate Guide to Navigating PHP Features Updates As PHP evolves, so do the language’s features, functionalities, and even the nuances in its behaviors: there are changed behavior in PHP. From syntax changes to the change in behavior of certain functions, it can be overwhelming to keep track of how each new version of PHP […]