What's new in PHP8.1

The repository is made for YouTube Video What's new in PHP 8.1

In this repository I cover changes made in PHP 8.1

  • Enums
  • Array unpacking with string values
  • Readonly properties
  • Intersection types
  • First class callable syntax
  • array_is_list function
  • Final class constants
  • new in initializers
  • Names arguments after unpacking
  • Octal literal notation
  • Migrating from php8.0 to php8.1
  • Fibers