![]() ![]() You can find the latest version of Stimulsoft products here. We have tested the work of Stimulsoft report generators under PHP 8.1 and haven't found compatibility issues. Its a very similar concept to constants (set via const or define), albeit with two important differences. ![]() That way you can be sure that a value wont be changed by accident after being initialized, throughout the objects life. The PHP update affected, first of all, our Reports.PHP and Dashboards.PHP products and only the server-side of these products. readonly properties allow you to create immutable objects, or at the very least immutable properties. Due to optimization of functions, improving iterators and speeding up class name resolution and opcache improvement – the ability to cache relationships between classes, productivity increased by about 8%. It can be applied as an option by default or a value of static variables or in attribute arguments It allows you to use the keyword new in initializers. These properties are especially actual for implementing VO and DTO objects Now, the properties of a class can be marked as read-only, which means the information they contain can be written once, and they can't be changed after initialization. First of all, the revision concerns the AMPHP and ReactPHP frameworks Also, the ability to manage these threads at a low level is added. Fibers are lightweight code blocks that allow you to create started, suspended, and terminated code blocks. A significant improvement of version 8.1, the essence of this is the ability to use enumeration instead of the class with constants, which allows you to validate the enumeration at runtime ![]() However, first things first.Īmong the updates in PHP 8.1, the following of them are worth taking into account: The release contains many improvements and new features, which significantly influenced the work of the projects created using PHP. On November 25, 2021, a major update of the PHP 8.1 was released. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |