پی اچ پی

موارد جدید PHP نسخه 7.4

What's New in PHP 7.4

PHP 7.4 was released on November 28th, 2019 and includes a variety of improvements and new features, including arrow functions, typed properties, weak references, and more.

In this brief series, we'll review one feature per episode to get you up to speed as quickly as possible.

سطح متوسط 3 جلسه آموزشی 00:12:00 ساعت
01
قسمت 1

Arrow Functions

PHP 7.4 includes support for arrow functions - or short closures - which allows for a shortened syntax for defining single lines closures with implicit scope binding.

02
قسمت 2

Null Coalescing Assignment Operator

The null coalescing assignment operator (??=) is a fancy term for something that is quite simple to understand. It provides a shorthand for assigning a value to a variable only if it hasn't been set already.

03
قسمت 3

Spread Operator Within Arrays

As part of PHP 7.4, you may now use the spread operator (...) within arrays.