47

New features coming in PHP 7.4

 4 years ago
source link: https://www.pixelite.co.nz/article/new-features-in-php-7-4/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
PHP 7.4 is scheduled for release in November of this year, with it bring someperformance improvements along with some new features. Here are a couple of thenew features that are coming that I'm excited about.Spread operator updatesPHP has had support for the spread operator for a while. It's functionality hasbeen limited to unpacking functional arguments. For example. You've been able todo the following since PHP 5.6.<?phpfunction spreadArgs(...$args) { print_r($args);}spreadArgs(

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK