SPATIE
Menu
Products
Open Source
Courses
Web Development
Vacancies
About
Blog
Docs
Guidelines
Log in
Front Line PHP
Introduction
Getting started with PHP 8
Automatically upgrading your code to PHP 8 using Rector
Free
New features in PHP 8
The Stringable interface
Free
The match expression
Free
Object classnames
Free
Improved exceptions
Free
Named arguments
Free
Promoted properties
Free
The nullsafe operator
Free
Three new string functions
Free
Union types
Free
Adding meta data using attributes
Free
Exploring WeakMaps
Free
Trailing commas in function definitions
Free
New features in PHP 8.1
Improvements to Array Spreading
Free
Readonly Properties
Free
Enums
Free
First-class callables
Free
Intersection Types
Free
The Never Type
Free
Learn how to build modern applications using PHP
Visit Front Line PHP
Enums
PHP now has a native way for declaring enums. Let's dig in!
Links
Enums properties RFC
spatie/enum
Front Line PHP
Previous:
Readonly Properties
Next:
First-class callables
+32 3 292 56 79
Click to call us