Slides for my PHP 7.4 talk at #PHPRussia2019. To unpack an array or a Traversable, it has to be prepended by … (3 dots), as shown in the following example: function test(.$args), while the second var_dump prints NULL, as the referenced object has been destroyed. You can check out the full list of features and additions on the official RFC page.įorget array_merge: PHP 7.4 Brings Spread Operator in Array ExpressionĪvailable since PHP 5.6, argument unpacking is a syntax for unpacking arrays and Traversables into argument lists. November 28th, 2019: PHP 7.4 GA Release.July 18th, 2019: PHP 7.4 Beta 1 – Feature freeze.Just for the record, these were the important dates for the 7.4 version: Please note that we support PHP versions 8.0, 8.1 and 8.2.Įven if PHP 7.4 significantly boosts performance and improves code readability, PHP 8 will be the real milestone for PHP performance, as the proposal for JIT inclusion has already been approved.Īnyway, today we’re going through some of the most interesting features and changes we’re expecting with PHP 7.4. PHP 7.4 is no longer supported at Kinsta. Update: PHP 8.1 (official release) is now available to all Kinsta clients. So it’s time for us to dive into some of the most exciting additions and new features that will have made PHP faster and more reliable. PHP 7.4, the next PHP 7 minor release, has been released for General Availability as of November 28th, 2019.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |