In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly shows you "what are the new features of PHP8.1", which is easy to understand and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn this article "what are the new features of PHP8.1?"
While most people have not upgraded to PHP 8.0 in the default package of their Linux distribution, let alone in a production environment, PHP 8.1 is under development and is expected to be officially released around the end of November. Scheduling, as in most years, after three biweekly releases of Alpha, the PHP 8.1 feature is expected to freeze at the end of July before entering the beta version, followed by many candidate versions.
If all goes well, PHP 8.1.0 will be released on November 25. As for what PHP 8.1 will bring, so far, known changes include:
-Enums will be introduced. PHP finally introduced enumerations into the language. Details of the addition can be found at this RFC: https://wiki.php.net/rfc/enumerations
-PHP 8.1.Introduces the fsync () function to help ensure that the operating system has written data changes (and metdata) to the underlying storage. There is also a new fdatasync () function that focuses only on synchronizing data, not metadata-- or behaves the same as fsync () in a Windows/ non-POSIX environment.
-PHP performance improvement continues, leading to more optimizations. One of the details so far is that PHP 8.1 opcache has added an inheritance cache, which should help reduce the overhead of PHP class inheritance.
-added support for "Fibers" to improve asynchronous support in PHP. These changes allow PHP functions to now complete interrupts without polluting the call stack and support transparent, non-blocking implementation of existing interfaces.
-PHP 8.1 hash code added support for xxHash and MurmurHash V3.
-continue the work of PHP8 to transition more resources to objects. Resources for PHP 8.1 fileinfo, GD, FTP, IMAP, LDAP, and other code will be transitioned to objects.
As the November release date approaches, stay tuned for more details on how PHP 8.1 features work.
These are all the contents of the article "what are the new features of PHP8.1". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.