PHP 8 Release and Features — Phpflow.com

PHP 8 is scheduled to be released on November 26, 2020. PHP 8 is currently in beta.[69] PHP 8 is a major version and has breaking changes from previous versions.[70] New features and notable changes include:

The main features -

Just-in-time compilation

Match statement

Type changes and additions

There are some other features -

  • Arrays starting with a negative index
  • TypeError on invalid arithmetic/bitwise operators
  • Reclassification of various engine errors
  • Consistent type errors for internal functions
  • Fatal error for incompatible method signatures
  • Locale independent float to string conversion
  • Variable Syntax Tweaks
  • Named Arguments
  • Nullsafe operator
  • non-capturing catches
  • throw expression

You can get more information from Official Docs.

Originally published at https://www.phpflow.com on November 17, 2020.