PHP 7 is the latest version of PHP.It was released on 3-Dec-2015.PHP 7 offers fast performance for online applications and websites.
Scalar type declarations has been introduced in PHP 7.Scalar type declaration has following two option.
Return Type Declarations has been introduced in PHP 7.It specify the type of value that a function should return.
Null coalescing operator (??) has been introduced in PHP 7.This is replacement of ternary operator in conjunction with isset() function.
To define Array constants we used define() In PHP 7.In PHP 5.6, they could only be defined with const.