PHP 8.1 released

Miscellaneous - - Tiger12 - OP

https://www.php.net/releases/8.1/en.php New features: - Pure Intersection Types - Enums - The never Return Type - Fibers - New readonly Properties - Define final Class Constants - New fsync() and fdatasync() Functions - New array_is_list() Function - New Sodium XChaCha20 Functions - New IntlDatePatternGenerator Class - Support for AVIF Image Format - New $_FILES: full_path Key for Directory Uploads - Array Unpacking Support for String-Keyed Arrays - Explicit Octal Numeral Notation - MurmurHash3 and xxHash Hash Algorithms Support - DNS-over-HTTPS (DoH) Support - File Uploads from Strings with CURLStringFile - New MYSQLI_REFRESH_REPLICA Constant - Performance Improvements with Inheritance Cache - First-Class Callable Syntax Does it have a future?

2
286


2 comments


lonely-dev
Yes, I think it's now obvious that despite any new improvements, PHP has fundamental flaws so it already lost to Java / Node.js when it comes to intermediate and big platforms development.
Knight1
I think that PHP is dead as a mainstream backend development language. It will continue to retain it's share mainly due to it's legacy i.e. CMS/ forums like WordPress, Joomla, PHP BB etc.