Brent Roose has a preview of…

Brent Roose has a preview of what to expect in the upcoming release of PHP 8.1:

  • Array unpacking with string keys
  • A new array_is_list function
  • Enums (Enumeration types)

The RFC is still under discussion on enums, but the proposal to them has been received with enthusiasm. If you’re unsure about the value they add, you can read about them here.

He also shares breaking changes and deprecations. πŸ’₯

Similar Posts