Read all the necessary instructions below for using PHP 8.1.
Scriptcase Installation
By installing the beta version of Scriptcase for PHP 8.1 you will not compromise your current installation or the projects in it. That is because the new version will be installed on a different default port: 8092; also it will have a different name in the directory: “NetMake\v9-php81\wwwroot”.
Starting the tests
To test the new environment, you can import one of our sample systems. To do so, select one of the samples, choose the default database, and then create the applications and run it.
Make sure the system is working properly and take advantage of the opportunity to assess the new features, especially the performance gain of PHP 8.1.
Test with your systems
To test the new environment with your systems, you must export the projects in your current Scriptcase. To do this, open the desired project and go to the menu Project > Export Project.
Then, in Scriptcase with PHP 8.1, access: Configuration > Administration menu again, and now go to the option > Restore and restore the backup taken from the previous version.
Wait for the complete file to be imported and then download the zip.
Finally, in Scriptcase with PHP 8.1, go to the menu Project > Import Project and import the zip downloaded earlier.
After charging, generate the source code for all applications in the imported project and test.
For more details, see a full tutorial.
Compatibility Adaptations
The applications generated by Scriptcase are already completely adapted to PHP 8.1, however if you use custom codes in events, functions or methods, and internal or external libraries, you must complete the necessary tests and adaptations.
We prepared a tutorial explaining how to make these adaptations, click here to see.
How to report possible errors
We have added the Save Log option at the end of the application generation. If you find any error that is not of the nature of the previous section (Compatibility adaptations), you should generate the report to our team by emailing scriptcasebeta@scriptcase.net.
In addition to the email, we also provide technical support to assist your evaluation. To access, just click on the chat in the lower right corner of this page or inside Scriptcase installed with version 9.8 (PHP 8.1).
If possible, in addition to the application generation log, envy as many details of the problem as possible. Texts with step-by-step instructions for reproduction, screenshots and videos will be very welcome.
PHP improvements
Melhorias Gerais
New functionality, including enums, read-only properties, first-class callable syntax, fibers, intersection types, and more.
See morePerformance Improvements
Improvements to: Inheritance caching, Fast class name resolution, Timelib and ext/date performance improvements, Serialize/unserialize optimizations, and more.
See moreNew Classes, Interfaces and Functions
New attribute #[ReturnTypeWillChange].
New functions fsync and fdatasync.
New function array_is_list.
New functions Sodium XChaCha20.
Depreciations and backward compatibility breaks
There are more than 14 items going through: Interface Serializable depreciated, variable constraints $GLOBALS and more.
See more