#php8
Read more stories on Hashnode
Articles with this tag
Exploring the Benefits of PHP 8's Readonly Properties ยท In PHP 8.1, readonly properties were introduced, which allow you to declare class properties that...
Understanding the "never" Return Type: The "never" return type in PHP 8.1 signifies that a function will never return normally. This could be due to...
Enumerations were introduced as a new feature in PHP 8.1. Enumerations, often referred to as enums, provide a way to define a set of named constants...
Match Expression In PHP 8, Match Expression is introduced as a new control structure that provides a more concise and readable alternative to the...
In PHP 8, attributes (also known as annotations or metadata) were introduced as a new feature. Attributes provide a way to add metadata to classes,...
Named arguments in PHP 8 allow you to pass arguments to a function by specifying the parameter name along with the value, rather than relying on the...