What’s New in PHP 8
Constructor Property Promotion
Validation for Abstract Trait Methods
Incompatible Method Signatures
Arrays Starting With a Negative Index
Union Types 2.0
Consistent Type Errors for Internal Functions
throw Expression
Weak Maps
Trailing Comma in Parameter List
Allow ::class syntax on objects
Attributes v2
Named Arguments
Nullsafe Operator
Saner String to Number Comparisons
Saner Numeric Strings
Match Expression v2
Stricter Type Checks for Arithmetic/Bitwise Operators