PHP 8.1

PHP 8.1

0
3
0

What is the difference between classes vs enums in PHP 8.1?

One of the common questions that I have been asked is what is the difference between classes and enums. Class(es) and enum(s) share many similarities but differ in some aspects. (...)
Harish Kumar
What is the difference between classes vs enums in PHP 8.1?
0
0
280

How to use the enumerations(Enums) of PHP 8.1 in Laravel?

The release of PHP 8.1 brings native enumerations to PHP. There is no more requirement for custom solutions in your Laravel projects since the Laravel v8.69 release has you back. (...)
Harish Kumar
How to use the enumerations(Enums) of PHP 8.1 in Laravel?
0
0
581

What is Enumerations(Enums) in PHP 8.1? Enums in PHP v8.1 Explained in detail with examples.

PHP 8.1 added many new features, and Enumerations (Enum) is our favourite new feature. Enumerations (or enums for short) allow us to define a new structure similar to a class however (...)
Harish Kumar
What is Enumerations(Enums) in PHP 8.1? 
Enums in PHP v8.1 Explained in detail with examples.
0
0
747