What's new in PHP 8.1 - behind the scenes

Internal property reflection

  • Almost all internal properties became declared

  • A few properties became readonly

  • Almost all properties became typed

Documentation Improvements

Resource to Object Conversion

There are only 6 extensions left which still expose resources

  • fileinfo (fixed in PHP 8.1)

  • FTP (fixed in PHP 8.1)

  • GD (fixed in PHP 8.1)

  • IMAP (fixed in PHP 8.1)

  • LDAP (fixed in PHP 8.1)

  • pgsql (fixed in PHP 8.1)

  • pspell (fixed in PHP 8.1)

  • com

  • DBA

  • OCI8

  • ODBC

  • SOAP (partly fixed in PHP 8.1)

  • standard

mbstring refactor

OPCache improvements

Performance improvements

What's new in PHP 8.1 - Behind the Scenes

By Máté Kocsis

What's new in PHP 8.1 - Behind the Scenes

  • 376