Null Coalescing Operator
PHP

Null Coalescing Operator

PHP 7 brings a new rather handy feature null coalescing operator. This new feature is similar to the ternary operator that we were using in older versions of PHP (PHP 5 & greater)

Scalar Type Declaration
PHP

Scalar Type Declaration

I would like to explain the Scalar type declaration feature, I hope this will help you to improve your knowledge and help you somehow in the future.