The match expression
In this video we discuss the match expression. It's the stricter and more type-safe version of switch
.
Links
- Front Line PHP: the book that explains all PHP 8 features and modern PHP in depth
- The match expression RFC
In this video we discuss the match expression. It's the stricter and more type-safe version of switch
.